João Gomes
2007-Feb-14 22:26 UTC
[Betternestedset-talk] Error after upgrade from acts_as_nested_set
Hi, I''m getting this error just after installing the BetterNestedSet plugin: Unknown key(s): order /Applications/WebTools/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'' /Applications/WebTools/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ activerecord-1.14.4/lib/active_record/base.rb:840:in `with_scope'' #{RAILS_ROOT}/vendor/plugins/betternestedset/lib/better_nested_set.rb: 94:in `find_in_nested_set'' #{RAILS_ROOT}/vendor/plugins/betternestedset/lib/better_nested_set.rb: 478:in `direct_children'' Anyone knows why? Thanks in advance, Joao Gomes -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/betternestedset-talk/attachments/20070214/4f5746e2/attachment.html
Krishna Dole
2007-Feb-14 23:17 UTC
[Betternestedset-talk] Error after upgrade from acts_as_nested_set
Hi Jo?o, Thanks for the bug report. I suspect this may be an incompatibility with older versions of Rails. If you don''t want to upgrade Rails you can install a less bleeding-edge version of better nested set: script/plugin install svn://rubyforge.org/var/svn/betternestedset/tags/stable/betternestedset Let us know if you go that route and it fixes the problem. Fabien-- you wrote the find_in_nested_set method, do you have any input? cheers, Krishna On 2/14/07, Jo?o Gomes <joao.gomes at gmail.com> wrote:> Hi, > > I''m getting this error just after installing the BetterNestedSet plugin: > > Unknown key(s): order > > /Applications/WebTools/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:48:in > `assert_valid_keys'' > /Applications/WebTools/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:840:in > `with_scope'' > #{RAILS_ROOT}/vendor/plugins/betternestedset/lib/better_nested_set.rb:94:in > `find_in_nested_set'' > #{RAILS_ROOT}/vendor/plugins/betternestedset/lib/better_nested_set.rb:478:in > `direct_children'' > > Anyone knows why? > > Thanks in advance, > Joao Gomes > _______________________________________________ > Betternestedset-talk mailing list > Betternestedset-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/betternestedset-talk > >
João Gomes
2007-Feb-14 23:41 UTC
[Betternestedset-talk] Error after upgrade from acts_as_nested_set
I upgraded Rails to version 1.2.2 but the error is the same. No error using the stable version. Thanks, Jo?o Gomes On 2007/02/14, at 23:17, Krishna Dole wrote:> Hi Jo?o, > > Thanks for the bug report. I suspect this may be an incompatibility > with older versions of Rails. If you don''t want to upgrade Rails you > can install a less bleeding-edge version of better nested set: > > script/plugin install > svn://rubyforge.org/var/svn/betternestedset/tags/stable/ > betternestedset > > Let us know if you go that route and it fixes the problem. > > Fabien-- you wrote the find_in_nested_set method, do you have any > input? > > cheers, > Krishna > > > > On 2/14/07, Jo?o Gomes <joao.gomes at gmail.com> wrote: >> Hi, >> >> I''m getting this error just after installing the BetterNestedSet >> plugin: >> >> Unknown key(s): order >> >> /Applications/WebTools/Locomotive2/Bundles/ >> standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ >> activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:48:in >> `assert_valid_keys'' >> /Applications/WebTools/Locomotive2/Bundles/ >> standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ >> activerecord-1.14.4/lib/active_record/base.rb:840:in >> `with_scope'' >> #{RAILS_ROOT}/vendor/plugins/betternestedset/lib/ >> better_nested_set.rb:94:in >> `find_in_nested_set'' >> #{RAILS_ROOT}/vendor/plugins/betternestedset/lib/ >> better_nested_set.rb:478:in >> `direct_children'' >> >> Anyone knows why? >> >> Thanks in advance, >> Joao Gomes >> _______________________________________________ >> Betternestedset-talk mailing list >> Betternestedset-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/betternestedset-talk >> >> > _______________________________________________ > Betternestedset-talk mailing list > Betternestedset-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/betternestedset-talk