Skip to content

Commit

Permalink
Merge pull request #100 from sbounmy/remove-require-active_record
Browse files Browse the repository at this point in the history
remove active_record dependency, closes #99
  • Loading branch information
Joost Hietbrink committed Jun 22, 2015
2 parents de9683f + eb5b042 commit e41d017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validators/phony_validator.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Uses the Phony.plausible method to validate an attribute.
# Usage:
# validate :phone_number, :phony_plausible => true
require 'active_record'
require 'active_model'
class PhonyPlausibleValidator < ActiveModel::EachValidator

# Validates a String using Phony.plausible? method.
Expand Down

0 comments on commit e41d017

Please sign in to comment.