Created
August 23, 2011 21:06
-
-
Save mkoby/1166541 to your computer and use it in GitHub Desktop.
rake rails:upgrade:check results for LiveShow
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
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) | |
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/models/band.rb | |
- app/views/bands/_form.html.erb | |
- app/models/band.rb | |
Updated syntax for validate_on_* methods | |
Validate-on-callback methods (validate_on_create/validate_on_destroy) have been changed to validate :x, :on => :create | |
More information: https://rails.lighthouseapp.com/projects/8994/tickets/3880-validate_on_create-and-validate_on_update-no-longer-seem-to-exist | |
The culprits: | |
- app/models/band.rb | |
- app/models/credit_card.rb | |
- app/models/band.rb | |
- app/models/credit_card.rb | |
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 | |
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 | |
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 | |
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: | |
- app/models/band.rb | |
- app/models/credit_card.rb | |
- app/models/user.rb | |
- app/controllers/bands_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: | |
- app/models/postoffice.rb | |
- app/models/postoffice.rb | |
- app/models/postoffice.rb | |
- app/models/venue.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/bands/_form.html.erb | |
- app/views/communications/new.html.erb | |
- app/views/credit_cards/edit.html.erb | |
- app/views/credit_cards/new.html.erb | |
- app/views/gigs/_form.html.erb | |
- app/views/user_sessions/new.html.erb | |
- app/views/users/_form.html.erb | |
- app/views/venues/_form.html.erb | |
- app/views/bands/invite.html.erb | |
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: | |
- config/initializers/session_store.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment