Sha256: 2c2fd323a9dc8811f3f71ff06d18de830b7b19f2d04ef8f96a49e8eaf4bc33ae

Contents?: true

Size: 185 Bytes

Versions: 24

Compression:

Stored size: 185 Bytes

Contents

class Tag < ApplicationRecord
  include Concerns::Locale

  validates :locale, :name, :slug, presence: true
  validates :slug, uniqueness: { case_sensitive: false, scope: :locale }
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
udongo-6.2.1 app/models/tag.rb
udongo-6.2.0 app/models/tag.rb
udongo-6.1.0 app/models/tag.rb
udongo-6.0.0 app/models/tag.rb
udongo-5.9.0 app/models/tag.rb
udongo-5.8.0 app/models/tag.rb
udongo-5.7.0 app/models/tag.rb
udongo-5.6.0 app/models/tag.rb
udongo-5.5.0 app/models/tag.rb
udongo-5.4.0 app/models/tag.rb
udongo-5.3.1 app/models/tag.rb
udongo-5.3.0 app/models/tag.rb
udongo-5.2.0 app/models/tag.rb
udongo-5.1.0 app/models/tag.rb
udongo-5.0.2 app/models/tag.rb
udongo-5.0.1 app/models/tag.rb
udongo-5.0.0 app/models/tag.rb
udongo-4.0.0 app/models/tag.rb
udongo-3.0.0 app/models/tag.rb
udongo-2.0.4 app/models/tag.rb