Sha256: 5c1ceda9e1982af4d092a8945fc6e29ee37d3d19079e0cd5c0dfb2cab132eb8e

Contents?: true

Size: 155 Bytes

Versions: 5

Compression:

Stored size: 155 Bytes

Contents

module Validatable
  class ValidatesEach < ValidationBase
    def message(instance)
      super || '%s is invalid'.t(humanized_attribute)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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