Created
January 21, 2013 01:57
-
-
Save alivesay/4583085 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Soon-to-be-deprecated ActiveRecord calls | |
Methods such as find(:all), find(:first), finds with conditions, and the :joins option will soon be deprecated. | |
More information: http://m.onkey.org/2010/1/22/active-record-query-interface | |
The culprits: | |
- app/helpers/application_helper.rb | |
- app/controllers/offers_controller.rb | |
- app/controllers/questions_controller.rb | |
- app/controllers/admin_controller.rb | |
- app/controllers/votes_controller.rb | |
- app/models/message.rb | |
- app/models/offer.rb | |
- app/models/user.rb | |
- app/models/boxes_parser.rb | |
- app/views/admin/index.rhtml | |
- app/models/offer.rb | |
- app/models/user.rb | |
- app/models/boxes_parser.rb | |
- app/helpers/application_helper.rb | |
- app/controllers/offers_controller.rb | |
- app/controllers/admin_controller.rb | |
- app/models/message.rb | |
- app/models/offer.rb | |
- app/models/user.rb | |
- app/models/boxes_parser.rb | |
Deprecated test_help path | |
You now must require 'rails/test_help' not just 'test_help'. | |
More information: http://weblog.rubyonrails.org/2009/9/1/gem-packaging-best-practices | |
The culprits: | |
- test/test_helper.rb | |
Deprecated constant(s) | |
Constants like RAILS_ENV, RAILS_ROOT, and RAILS_DEFAULT_LOGGER are now deprecated. | |
More information: http://litanyagainstfear.com/blog/2010/02/03/the-rails-module/ | |
The culprits: | |
- app/controllers/users_controller.rb | |
- app/controllers/account_controller.rb | |
Deprecated ERb helper calls | |
Block helpers that use concat (e.g., form_for) should use <%= instead of <%. The current form will continue to work for now, but you will get deprecation warnings since this form will go away in the future. | |
More information: http://weblog.rubyonrails.org/ | |
The culprits: | |
- app/views/account/signup.rhtml | |
- app/views/admin/index.rhtml | |
- app/views/messages/edit.rhtml | |
- app/views/offers/_new_offer_form.rhtml | |
- app/views/offers/_offer.rhtml | |
- app/views/offers/_offer_row.rhtml | |
- app/views/questions/current.html.erb | |
- app/views/questions/edit.rhtml | |
- app/views/questions/new.rhtml | |
- app/views/users/edit.rhtml | |
- app/views/account/login.rhtml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment