Created
March 1, 2011 00:11
-
-
Save evolve2k/848339 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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: | |
| - /Users/richie/Sites/funways/app/views/password_resets/edit.html.erb | |
| - /Users/richie/Sites/funways/app/views/password_resets/new.html.erb | |
| 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: | |
| - /Users/richie/Sites/funways/app/views/layouts/admin.html.haml | |
| - /Users/richie/Sites/funways/app/views/layouts/application.html.haml | |
| - /Users/richie/Sites/funways/app/views/layouts/popup.haml | |
| - /Users/richie/Sites/funways/app/models/activity.rb | |
| 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: | |
| - /Users/richie/Sites/funways/app/controllers/admin/users_controller.rb | |
| - /Users/richie/Sites/funways/app/controllers/mailboxes_controller.rb | |
| - /Users/richie/Sites/funways/app/controllers/message_history_controller.rb | |
| - /Users/richie/Sites/funways/app/controllers/message_history_controller.rb | |
| named_scope is now just scope | |
| The named_scope method has been renamed to just scope. | |
| More information: http://github.com/rails/rails/commit/d60bb0a9e4be2ac0a9de9a69041a4ddc2e0cc914 | |
| The culprits: | |
| - /Users/richie/Sites/funways/app/models/dating_room.rb | |
| Deprecated ActionMailer API | |
| You're using the old ActionMailer API to send e-mails in a controller, model, or observer. | |
| More information: http://lindsaar.net/2010/1/26/new-actionmailer-api-in-rails-3 | |
| The culprits: | |
| - /Users/richie/Sites/funways/app/models/email.rb | |
| - /Users/richie/Sites/funways/app/models/message.rb | |
| - /Users/richie/Sites/funways/app/models/user.rb | |
| - /Users/richie/Sites/funways/app/models/user_report.rb | |
| - app/controllers/password_resets_controller.rb | |
| Old ActionMailer class API | |
| You're using the old API in a mailer class. | |
| More information: http://lindsaar.net/2010/1/26/new-actionmailer-api-in-rails-3 | |
| The culprits: | |
| - /Users/richie/Sites/funways/app/models/notifier.rb | |
| - /Users/richie/Sites/funways/app/models/notifier.rb | |
| - /Users/richie/Sites/funways/app/models/notifier.rb | |
| - /Users/richie/Sites/funways/app/models/user.rb | |
| Deprecated session secret setting | |
| Previously, session secret was set directly on ActionController::Base; it's now config.secret_token. | |
| More information: http://lindsaar.net/2010/4/7/rails_3_session_secret_and_session_store | |
| The culprits: | |
| - /Users/richie/Sites/funways/config/initializers/session_store.rb | |
| Old Rails generator API | |
| A plugin in the app is using the old generator API (a new one may be available at http://github.com/trydionel/rails3-generators). | |
| More information: http://blog.plataformatec.com.br/2010/01/discovering-rails-3-generators/ | |
| The culprits: | |
| - vendor/plugins/delayed_job/generators/ | |
| - vendor/plugins/delayed_job/generators/delayed_job_migration/ | |
| - vendor/plugins/resource_controller/generators/ | |
| - vendor/plugins/resource_controller/generators/scaffold_resource/ | |
| Old router API | |
| The router API has totally changed. | |
| More information: http://yehudakatz.com/2009/12/26/the-rails-3-router-rack-it-up/ | |
| The culprits: | |
| - config/routes.rb | |
| New file needed: config/application.rb | |
| You need to add a config/application.rb. | |
| More information: http://omgbloglol.com/post/353978923/the-path-to-rails-3-approaching-the-upgrade | |
| The culprits: | |
| - config/application.rb | |
| Old environment.rb | |
| environment.rb doesn't do what it used to; you'll need to move some of that into application.rb. | |
| More information: http://omgbloglol.com/post/353978923/the-path-to-rails-3-approaching-the-upgrade | |
| The culprits: | |
| - config/environment.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment