lib/validators/phone_validator.rb in phonelib-0.2.4 vs lib/validators/phone_validator.rb in phonelib-0.2.5

- old
+ new

@@ -22,10 +22,10 @@ # Empty value is allowed to be passed. # # class Phone < ActiveRecord::Base # attr_accessible :number # validates :number, phone: { allow_blank: true } -# end +# end class PhoneValidator < ActiveModel::EachValidator # Include all core methods include Phonelib::Core # Validation method