aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-07 01:23:08 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-07 01:23:08 +0530
commit428883b579123f14cb3161f566c140e684815aeb (patch)
tree6891a790c7a483d774592dda5336e1c4228192aa /activerecord/lib/active_record/migration.rb
parentc5786a951ea4b42f38f1862f2322b7b3f5085241 (diff)
downloadrails-428883b579123f14cb3161f566c140e684815aeb.tar.gz
rails-428883b579123f14cb3161f566c140e684815aeb.tar.bz2
rails-428883b579123f14cb3161f566c140e684815aeb.zip
up and down are no longer class methods in a migration
Diffstat (limited to 'activerecord/lib/active_record/migration.rb')
-rw-r--r--activerecord/lib/active_record/migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index 640111096d..de26b21f1a 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -53,7 +53,7 @@ module ActiveRecord
#
# 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