Hi Paul, Sorry for not answering before. I took a look at the source (https://github.com/Hobo/hobo/blob/master/hobo/lib/hobo/extensions/active_record/permissions.rb#L14) and it looks like Hobo is overriding the "delete_records" method.
I would say that out "delete_records" is not up to date comparing to Rails one, so I'm going to open an issue and reference this thread. Thanks for the report! Regards, Ignacio El 09/04/14 23:22, [email protected] escribió: > Thanks, Stefan. That's a very useful suggestion and a clear Gist. > > I will try it out. > > On Wednesday, April 9, 2014 8:30:12 AM UTC-7, Stefan Haslinger wrote: > > Hi Paul, > > sorry, no idea about fixing your error. > For tree structures I'm using Ancestry > <https://github.com/stefankroes/ancestry> along side Hobo. > > I once build a drag and drop thingy > > <https://groups.google.com/forum/#!searchin/hobousers/tree/hobousers/L3xvHNjsSuU/7ofhJIKtBnoJ> > for it. > Maybe this can come in handy make it up i little bit for the lost > closure_tree. > > Greetings, > Stefan > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/hobousers. > For more options, visit https://groups.google.com/d/optout. -- 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.
