Sha256: 6d9d9f70e82db967092e5f3e67db6cff31055e300245c3b3387a475b33abe49b

Contents?: true

Size: 293 Bytes

Versions: 22

Compression:

Stored size: 293 Bytes

Contents

class Category
  include Mongoid::Document
  include Lolita::Configuration
  field :name, type: String
  has_many :posts

  lolita do
    list do
      list(:posts) do
        column :comments do
          list do
            column :body
          end
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
lolita-3.4.2 spec/rails_app/app/mongoid/category.rb
lolita-3.4.1 spec/rails_app/app/mongoid/category.rb
lolita-3.4.0 spec/rails_app/app/mongoid/category.rb
lolita-3.3.9 spec/rails_app/app/mongoid/category.rb
lolita-3.3.8 spec/rails_app/app/mongoid/category.rb
lolita-3.3.7 spec/rails_app/app/mongoid/category.rb
lolita-3.3.6 spec/rails_app/app/mongoid/category.rb
lolita-3.3.5 spec/rails_app/app/mongoid/category.rb
lolita-3.3.4 spec/rails_app/app/mongoid/category.rb
lolita-3.3.3 spec/rails_app/app/mongoid/category.rb
lolita-3.3.2 spec/rails_app/app/mongoid/category.rb
lolita-3.3.1 spec/rails_app/app/mongoid/category.rb
lolita-3.3.0 spec/rails_app/app/mongoid/category.rb
lolita-3.2.1 spec/rails_app/app/mongoid/category.rb
lolita-3.2.0.rc.17 spec/rails_app/app/mongoid/category.rb
lolita-3.2.0.rc.16 spec/rails_app/app/mongoid/category.rb
lolita-3.2.0.rc.14 spec/rails_app/app/mongoid/category.rb
lolita-3.2.0.rc.13 spec/rails_app/app/mongoid/category.rb
lolita-3.2.0.rc.12 spec/rails_app/app/mongoid/category.rb
lolita-3.2.0.rc.11 spec/rails_app/app/mongoid/category.rb