Sha256: 08e027b68f2981ffb25367614e1a4eae37b497f042373055330a9d67156a44fd

Contents?: true

Size: 143 Bytes

Versions: 19

Compression:

Stored size: 143 Bytes

Contents

module Ksk::Category
  extend ActiveSupport::Concern

  included do
    has_many :posts

    validates_length_of :title, minimum: 3
  end

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ksk-0.4.11 app/models/concerns/ksk/category.rb
ksk-0.4.10 app/models/concerns/ksk/category.rb
ksk-0.4.9 app/models/concerns/ksk/category.rb
ksk-0.4.8 app/models/concerns/ksk/category.rb
ksk-0.4.7 app/models/concerns/ksk/category.rb
ksk-0.4.6 app/models/concerns/ksk/category.rb
ksk-0.4.5 app/models/concerns/ksk/category.rb
ksk-0.4.4 app/models/concerns/ksk/category.rb
ksk-0.4.3 app/models/concerns/ksk/category.rb
ksk-0.4.2 app/models/concerns/ksk/category.rb
ksk-0.4.1 app/models/concerns/ksk/category.rb
ksk-0.4.0 app/models/concerns/ksk/category.rb
ksk-0.3.4 app/models/concerns/ksk/category.rb
ksk-0.3.3 app/models/concerns/ksk/category.rb
ksk-0.3.2 app/models/concerns/ksk/category.rb
ksk-0.3.0 app/models/concerns/ksk/category.rb
ksk-0.2.15 app/models/concerns/ksk/category.rb
ksk-0.2.14 app/models/concerns/ksk/category.rb
ksk-0.2.13 app/models/concerns/ksk/category.rb