wawimundo / ChainSelects

ChainSelects is a Ruby on Rails plugin which allows easy creation of dependent or "chained" selects.
http://chainselects.hypermediasoft.com/
MIT License
39 stars 6 forks source link

Deprecation Warning #4

Closed bbuchalter closed 13 years ago

bbuchalter commented 13 years ago

DEPRECATION WARNING: Rake tasks in vendor/plugins/ChainSelects/tasks/chain_selects_tasks.rake are deprecated. Use lib/tasks instead. (called from <top (required)> at /home/brian/code/lfm/Rakefile:7) rake aborted! ActionDispatch::Routing is not missing constant Mapper!

Using Rails 3.0.3. Any plans on supporting Rails 3?

wawimundo commented 13 years ago

Yes. I already modified it to work on Rails 3. I'll push it in a couple of days when I get some free time. Thanks.

bbuchalter commented 13 years ago

Also, I cannot remove the plugin once installed!

brian@ubuntu:~/code/lfm$ rails plugin remove ChainSelects /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:479:in load_missing_constant': ActionDispatch::Routing is not missing constant Mapper! (ArgumentError) from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:183:inblock in const_missing' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:181:in each' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:181:inconst_missing' from /home/brian/code/lfm/vendor/plugins/ChainSelects/lib/chain_selects/routing.rb:12:in <top (required)>' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:inrequire' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in block in require' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:inblock in load_dependency' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in new_constants_in' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:inload_dependency' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' from /home/brian/code/lfm/vendor/plugins/ChainSelects/lib/chain_selects.rb:3:in<top (required)>' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:inblock in require' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in block in load_dependency' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:innew_constants_in' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in load_dependency' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:inrequire' from /home/brian/code/lfm/vendor/plugins/ChainSelects/rails/init.rb:1:in block in <class:Plugin>' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/plugin.rb:81:ineval' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/plugin.rb:81:in block in <class:Plugin>' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/initializable.rb:25:ininstance_exec' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/initializable.rb:25:in run' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/initializable.rb:50:inblock in run_initializers' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/initializable.rb:49:in each' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/initializable.rb:49:inrun_initializers' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/application.rb:134:in initialize!' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/application.rb:77:inmethod_missing' from /home/brian/code/lfm/config/environment.rb:5:in <top (required)>' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/application.rb:103:inrequire' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/application.rb:103:in require_environment!' from /home/brian/.rvm/gems/ruby-1.9.2-p136@lfm/gems/railties-3.0.3/lib/rails/commands.rb:16:in<top (required)>' from script/rails:6:in require' from script/rails:6:in

'

wawimundo commented 13 years ago

You can delete the plugin manually for the mean time and the corresponding asset files (public/stylesheets/chain_selects.css, public/images/ajax-loader.gif).

bbuchalter commented 13 years ago

Thanks for the tip. When do you think you'll push out that new code?

wawimundo commented 13 years ago

I'll try my best to push it today.