Sha256: 585cbc3c7007b8588b805a8c68c38d6f5987d9b3b257593ac9e34fb1bff21749

Contents?: true

Size: 233 Bytes

Versions: 20

Compression:

Stored size: 233 Bytes

Contents

require "#{File.dirname(__FILE__)}/test_document"

class Node
  include Mongoid::Document
  include Mongoid::Acts::NestedSet::TestDocument
  acts_as_nested_set :scope => :root_id

  field :name
  field :root_id, :type => Integer
end

Version data entries

20 entries across 19 versions & 3 rubygems

Version Path
glebtv-mongoid_nested_set-0.8.0 spec/models/node.rb
glebtv-mongoid_nested_set-0.7.0 spec/models/node.rb
glebtv-mongoid_nested_set-0.6.0 spec/models/node.rb
glebtv-mongoid_nested_set-0.5.3 spec/models/node.rb
glebtv-mongoid_nested_set-0.5.2 spec/models/node.rb
glebtv-mongoid_nested_set-0.5.1 spec/models/node.rb
glebtv-mongoid_nested_set-0.5.0 spec/models/node.rb
glebtv-mongoid_nested_set-0.4.3 spec/models/node.rb
glebtv-mongoid_nested_set-0.4.2 spec/models/node.rb
glebtv-mongoid_nested_set-0.4.1 spec/models/node.rb
glebtv-mongoid_nested_set-0.4.0 spec/models/node.rb
glebtv-mongoid_nested_set-0.3.0 spec/models/node.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/mongoid_nested_set-0.2.1/spec/models/node.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/bundler/gems/mongoid_nested_set-d482b2642889/spec/models/node.rb
mongoid_nested_set-0.2.1 spec/models/node.rb
mongoid_nested_set-0.2.0 spec/models/node.rb
mongoid_nested_set-0.1.3 spec/models/node.rb
mongoid_nested_set-0.1.2 spec/models/node.rb
mongoid_nested_set-0.1.1 spec/models/node.rb
mongoid_nested_set-0.1.0 spec/models/node.rb