Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

up and down are no longer class methods in a migration

  • Loading branch information...
commit 59016b9b977cfebfad30503b0dff01ce827179b1 1 parent 7262d92
@vijaydev vijaydev authored fxn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/migration.rb
2  activerecord/lib/active_record/migration.rb
@@ -53,7 +53,7 @@ def initialize(name)
# This migration will add a boolean flag to the accounts table and remove it
# if you're backing out of the migration. It shows how all migrations have
- # two class methods +up+ and +down+ that describes the transformations
+ # two methods +up+ and +down+ that describes the transformations
# required to implement or remove the migration. These methods can consist
# of both the migration specific methods like add_column and remove_column,
# but may also contain regular Ruby code for generating data needed for the
Please sign in to comment.
Something went wrong with that request. Please try again.