Sha256: 3b5b8ac5ed3da6a69b544991e3d9b9b8bd4ceed3602a7688a732a0601079bb34

Contents?: true

Size: 213 Bytes

Versions: 14

Compression:

Stored size: 213 Bytes

Contents

class MustBeUniqueValidator  < ActiveRecord::Validations::UniquenessValidator

  def error_message
    "is not a unique."
  end

  def help_message
    "Moet uniek zijn (mag niet twee keer voorkomen)."
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
inline_forms-1.3.6 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.3.5 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.3.4 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.3.3 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.3.2 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.3.1 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.3.0 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.2.9 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.2.8 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.2.7 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.2.5 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.2.4 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.2.3 lib/app/validators/must_be_unique_validator.rb
inline_forms-1.2.2 lib/app/validators/must_be_unique_validator.rb