I'm trying to upgrade from 0.5.2 (checked out version) to 0.6.1 (gem version) and the migration runs fine until I try to hit it in a browser after restarting and get the error
undefined local variable or method `behavior_id' The full error is at the end of this message. I'm on Windows and SQL Server running through mongrel This refers to an older thread I started when I was testing the upgrade process to 0.6rc2 http://lists.radiantcms.org/pipermail/radiant/2007-March/003904.html Anyone have any ideas for me? Thanks! -Jim > NameError in Admin/page#index > > Showing C:/Ruby186/ruby/lib/ruby/gems/1.8/gems/radiant-0.5.2/app/ > views/admin/page/_node.rhtml where line #8 raised: > > undefined local variable or method `behavior_id' for #<Page:0x45daaf8> > > > Extracted source (around line #8): > > 5: padding_left = (level * 22) + 4 > 6: > 7: children_class = children ? (expanded ? ' children-visible' : ' > children-hidden') : ' no-children' > 8: virtual_class = page.virtual? ? " virtual": "" > 9: > 10: expander = children ? image_tag((expanded ? "collapse" : > "expand"), :class => "expander", :alt => 'toggle children', :title > => '', :align => 'center') : "" > 11: > > > Trace of template inclusion: C:/Ruby186/ruby/lib/ruby/gems/1.8/gems/ > radiant-0.5.2/app/views/admin/page/index.rhtml > > RAILS_ROOT: C:/Apps/Radiant_Dev/config/.. > > Application Trace | Framework Trace | Full Trace > C:/Ruby186/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ > active_record/base.rb:1792:in `method_missing' > #{RAILS_ROOT}/app/models/page.rb:62:in `behavior' > #{RAILS_ROOT}/lib/advanced_delegation.rb:10:in `send' > #{RAILS_ROOT}/lib/advanced_delegation.rb:10:in `virtual?' > #{RAILS_ROOT}/app/helpers/admin/page_helper.rb:4:in `render_node' _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
