[Betternestedset-talk] Odd errors with scoping

Jean-Christophe Michel jc.michel at symetrie.com
Tue Jun 5 05:41:57 EDT 2007


Hi,


Le 5 juin 07 à 09:20, Jonathan Mischo a écrit :
> person acts_as_nested_set (using BNS, of course)

Do you use edge ?
http://opensource.symetrie.com/trac/better_nested_set/ticket/27

Class.roots has anyway a problem with scope.
I could give the advice to use

any = Class.find :first
any.roots

that should avoid the Class+scope problem

Jean-Christophe Michel
--
symetrie.com

Better Nested Set for rails:
http://opensource.symetrie.com/trac/better_nested_set




More information about the Betternestedset-talk mailing list