Sha256: 8e121748ce981573cf3a5b8031140a88ff727fc41c1cdb9e08de492efca20756

Contents?: true

Size: 190 Bytes

Versions: 22

Compression:

Stored size: 190 Bytes

Contents

module Concerns::Category
  extend ActiveSupport::Concern

  included do
    include Mongoid::Document
    field :name
    validates_presence_of :name
  end

  module ClassMethods
  end

end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
mix-rails-0.26.3 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.26.3 app/models/concerns/category.rb
mix-rails-0.26.2 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.26.2 app/models/concerns/category.rb
mix-rails-0.26.1 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.26.1 app/models/concerns/category.rb
mix-rails-0.26.0 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.26.0 app/models/concerns/category.rb
mix-rails-0.25.1 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.25.1 app/models/concerns/category.rb
mix-rails-0.25.0 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.25.0 app/models/concerns/category.rb
mix-rails-0.24.1 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.24.1 app/models/concerns/category.rb
mix-rails-0.24.0 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.24.0 app/models/concerns/category.rb
mix-rails-0.23.1 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.23.1 app/models/concerns/category.rb
mix-rails-0.23.0 mix-rails-core/app/models/concerns/category.rb
mix-rails-core-0.23.0 app/models/concerns/category.rb