Ticket #49 (new enhancement)

Opened 2 months ago

How to define scope with full_set

Reported by: rails Assigned to: jcm
Priority: minor Milestone: 0.1 with tests
Component: doc Version:
Keywords: Cc:

Description

Here is my model

class MenuItem < ActiveRecord::Base
   acts_as_nested_set :scope => :menu_id
end

If i use : MenuItem?.root.full_set it take the root of the first scope, but how can i define a specific scope ? (This could be add in the readme doc)