I have upgraded my app to rails 3.1 following Ryan Bates' instructions in Railscast Episode 282. Everything is working wonderfully except that new migrations generated are still following the old style of
class MigrationName < ActiveRecord::Migration def up end def down end end How do I upgrade things so new migrations are generated in the new style of:
class MigrationName < ActiveRecord::Migration def change end end
rails -vsay? My guess is that you updated the Gemfile but not the gem that's installed on your system.