Updating to latest active_scaffold resolved that issue. When I attempt to edit a record that has the sortable items as association targets the controller renders them but no record appears in the place of the record being edited. More digging required.
Michael On Feb 6, 2011, at 10:19 AM, Michael Latta wrote: > A little more digging and there appears to be an > "active_scaffold_autoload_subdir" method that has only 2 arguments while the > plugin is calling "autoload_subdir" with 3 arguments. I will check if my AS > is out of date relative to the sortable plugin. > > Michael > > > On Feb 6, 2011, at 10:07 AM, Michael Latta wrote: > >> Is the vhochstein sortable fork working in Rails 3? I just tried to install >> it and get the following: >> >> Michael >> >> MBP:vipassana lattam$ rails s >> => Booting WEBrick >> => Rails 3.0.0 application starting in development on http://0.0.0.0:3000 >> => Call with -d to detach >> => Ctrl-C to shutdown server >> Exiting >> /Users/lattam/Projects/vipassana/vendor/plugins/active_scaffold_sortable/lib/active_scaffold_sortable.rb:14: >> undefined method `autoload_subdir' for ActiveScaffold:Module (NoMethodError) >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in >> `require' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in >> `require' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in >> `load_dependency' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in >> `new_constants_in' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in >> `load_dependency' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in >> `require' >> from >> /Users/lattam/Projects/vipassana/vendor/plugins/active_scaffold_sortable/init.rb:1 >> from /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/plugin.rb:81 >> from >> /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/initializable.rb:25:in >> `instance_exec' >> from >> /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/initializable.rb:25:in >> `run' >> from >> /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/initializable.rb:50:in >> `run_initializers' >> from >> /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/initializable.rb:49:in >> `each' >> from >> /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/initializable.rb:49:in >> `run_initializers' >> from >> /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/application.rb:134:in >> `initialize!' >> from >> /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/application.rb:77:in >> `send' >> from >> /Library/Ruby/Gems/1.8/gems/railties-3.0.0/lib/rails/application.rb:77:in >> `method_missing' >> from /Users/lattam/Projects/vipassana/config/environment.rb:5 >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in >> `require' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in >> `require' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in >> `load_dependency' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in >> `new_constants_in' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in >> `load_dependency' >> from >> /Library/Ruby/Gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in >> `require' >> from /Users/lattam/Projects/vipassana/config.ru:3 >> from /Library/Ruby/Gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in >> `instance_eval' >> from /Library/Ruby/Gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in >> `initialize' >> from /Users/lattam/Projects/vipassana/config.ru:1:in `new' >> from /Users/lattam/Projects/vipassana/config.ru:1 >> MBP:vipassana lattam$ >> >> -- >> You received this message because you are subscribed to the Google Groups >> "ActiveScaffold : Ruby on Rails plugin" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/activescaffold?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "ActiveScaffold : Ruby on Rails plugin" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/activescaffold?hl=en. > -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
