Sha256: 3f4a1a517627b6218d50f88297315a3aa59ba1757212efb0f6e279e5af3636d3

Contents?: true

Size: 162 Bytes

Versions: 9

Compression:

Stored size: 162 Bytes

Contents

module ArInternalMetadatumValidation
  extend ActiveSupport::Concern

  included do
    validates :key, presence: true
    validates_uniqueness_of :key
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
model_base_generators-0.3.3 example/app/validations/ar_internal_metadatum_validation.rb
model_base_generators-0.3.2 example/app/validations/ar_internal_metadatum_validation.rb
model_base_generators-0.3.1 example/app/validations/ar_internal_metadatum_validation.rb
model_base_generators-0.3.0 example/app/validations/ar_internal_metadatum_validation.rb
model_base_generators-0.2.4 example/app/validations/ar_internal_metadatum_validation.rb
model_base_generators-0.2.3 example/app/validations/ar_internal_metadatum_validation.rb
model_base_generators-0.2.2 example/app/validations/ar_internal_metadatum_validation.rb
model_base_generators-0.2.1 example/app/validations/ar_internal_metadatum_validation.rb
model_base_generators-0.2.0 example/app/validations/ar_internal_metadatum_validation.rb