search for: add_children

Displaying 2 results from an estimated 2 matches for "add_children".

2006 May 09
2
what are all these methods?!?! :)
...with :acts_as_tree in the console and I instantiated a new tree object and went to use the readline support to see all the available methods and I was rather surprised to see many many more methods than I was expecting..so I went to the api site and a lot of them weren''t documented.. .add_children, .child_ids, etc... now I can guess pretty easily what these methods do and my next step is to go and look at the source code...but can anyone suggest if i''m missing something? -- Posted via http://www.ruby-forum.com/.
2009 Sep 10
1
undefined method `protect_against_forgery?'
.../tree/lib/node.rb:79:in `internal_link_to_remote'' /home/sdr/workspace/sp/vendor/plugins/tree/lib/node.rb:31:in `initialize'' /home/sdr/workspace/sp/app/controllers/application_controller.rb:59:in `new'' /home/sdr/workspace/sp/app/controllers/application_controller.rb:59:in `add_children'' /home/sdr/workspace/sp/app/controllers/application_controller.rb:45:in `set_sidemenu'' /home/sdr/workspace/sp/app/controllers/application_controller.rb:44:in `each'' /home/sdr/workspace/sp/app/controllers/application_controller.rb:44:in `set_sidemenu'' what should...