This project is archived and is in readonly mode.
rake generating depreciation warnings.
-
Dan Weinand
Change Rails::Application.load_tasks in your Rakefile to Ch::Application.load_tasks
-
Rémy Coutable
Personally, even after doing this change, I still got the deprecation warning.
-
Dave Gerton
It worked for me, though. My application is named Ch, hence Ch::Application.load_tasks. Make sure yours matches the name of the module in config/application.rb.
-
Dave Gerton
I also verified that rails new puts the correct namespace in Rakefile so this can be closed.
-
Neeraj Singh
- State changed from new to resolved
- Importance changed from to Low