Permalink
Browse files

up and down are no longer class methods in a migration

  • Loading branch information...
1 parent 7262d92 commit 59016b9b977cfebfad30503b0dff01ce827179b1 @vijaydev vijaydev committed with fxn Jun 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 59016b9

Please sign in to comment.