Sha256: 8eec6a2e3be7a56167905db2c52c8d542b96c021bbe2edc2561e9cfc8091783f

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 Bytes

Contents

module Validatable
  class ValidatesConfirmationOf < ValidationBase
    def message(instance)
      super || "%s does not match the confirmation".t(humanized_attribute)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datamapper-0.3.0 lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb
datamapper-0.2.4 lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb
datamapper-0.2.5 lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb
datamapper-0.3.1 lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb
datamapper-0.3.2 lib/data_mapper/validatable_extensions/validations/validates_confirmation_of.rb