I have removed closure_tree from my app and am proceeding otherwise. Sorry for the distraction.
On Saturday, April 5, 2014 4:13:16 PM UTC-7, [email protected] wrote: > > I am using Hobo 2.1 and the closure_tree gem ( > https://github.com/mceachen/closure_tree) > > Most operations on my tree-element model succeed, but when I attempt to > delete an element, I get the following error: > > NoMethodError (undefined method `map' for :all:Symbol): > hobo (2.1.0) lib/hobo/extensions/active_record/permissions.rb:14:in > `delete_records' > activerecord (4.0.4) > lib/active_record/associations/collection_association.rb:232:in `delete' > ... > > When I remove the acts_as_tree keyword from my model, the delete succeeds. > > Is there a fundamental problem, or is there a change I can make in my > model definition that will address this? > > The full trace is here: http://pastebin.com/264mHS39 > > The model definition for Element is here: http://pastebin.com/bjps9CEG > > Thanks for any help. > > Paul > > > > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/d/optout.
