nested_set
nested_set copied to clipboard
Rails 3 support! An awesome replacement for acts_as_nested_set and better_nested_set.
Hi All, Seem to be getting this error whilst creating a page in my Rails Admin CMS - ``` Unauthorized assignment to lft: it's an internal field handled by acts_as_nested_set...
ActionView::Template::Error (undefined local variable or method `accessible_attributes' for #Class:0x007ffc754c4c48): activerecord (4.0.0) lib/active_record/dynamic_matchers.rb:22:in `method_missing' nested_set (1.7.1) lib/nested_set/base.rb:81:in`acts_as_nested_set' ``` if accessible_attributes.blank? # error attr_protected left_column_name.intern, right_column_name.intern end ```
Hi, I have implemented tree structure in our SAAS product using nested_set 1.6.8 version. Over period of time I observed it got corrupted because of the concurrency issue. Right now...
I am getting this error: "Unauthorized assignment to lft: it's an internal field handled by acts_as_nested_set code, use move_to_\* methods instead." whilst running this code: rake redmine:merge_redmine RAILS_ENV=production (the aim...
Rebuilding a table with non-integer id's doesn't work. Is there a workaround? I'm not sure why this is even an issue. I had this happen twice. The first table was...
The nested_set rdoc text for `sorted_nested_set_options(class_or_item, sort_proc, mover = nil, level = 0)` has several typos. The "Usage" section reads: ``` OR sort_method = lambda{|x| x.name.mb_chars.downcase } ``` Both code...
When I run from console Model.Rebuild! depth field in DB doens't updated for existed data.
Hi, What do you think of adding an :after_add option for the has_any :children relation ? It would allow to cleanly set some fields that ibherits from parent when creating...