Mindtonic wrote: > SOLUTION: > > You're not going to believe this. > > 1. Install the plugin > 2. Write and run a migration to add `lft` and `rgt` integer columns to > your model > 3. Change `acts_as_tree` to `acts_as_nested_set` in your model > 4. Open the Console > 5. type: NameOfYourModel.rebuild! > > That's it! > > Woah, I've been looking for this for weeks. I hope it helps somebody > out there. Hi,
Before migrating to awesome_nested_set, I'd like to know if moving things around happens easily. Let's say I have the following tree: Root |- Hardware |- GPS |- Screens |- Keyboards |- Geek stuff |- iPod Let's say I want to move GPS to Geek Stuff, how does it work? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---