diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-17 14:54:08 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-17 14:57:54 -0800 |
commit | c1a63c8dba00b9f6ed81b3a46ecf595273cd876d (patch) | |
tree | 87f99effa3feca2b79ebc5dbc6ad49f5a70b8c73 /activerecord | |
parent | d1fcba81188fafae2a65cc4c2ebca67df3f36f75 (diff) | |
download | rails-c1a63c8dba00b9f6ed81b3a46ecf595273cd876d.tar.gz rails-c1a63c8dba00b9f6ed81b3a46ecf595273cd876d.tar.bz2 rails-c1a63c8dba00b9f6ed81b3a46ecf595273cd876d.zip |
fixing more documentation
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 80aa123fdd..65befa7473 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -135,7 +135,7 @@ module ActiveRecord # in the <tt>db/migrate/</tt> directory where <tt>timestamp</tt> is the # UTC formatted date and time that the migration was generated. # - # You may then edit the <tt>self.up</tt> and <tt>self.down</tt> methods of + # You may then edit the <tt>up</tt> and <tt>down</tt> methods of # MyNewMigration. # # There is a special syntactic shortcut to generate migrations that add fields to a table. @@ -220,7 +220,7 @@ module ActiveRecord # latest column data from after the new column was added. Example: # # class AddPeopleSalary < ActiveRecord::Migration - # def self.up + # def up # add_column :people, :salary, :integer # Person.reset_column_information # Person.find(:all).each do |p| @@ -240,7 +240,7 @@ module ActiveRecord # You can also insert your own messages and benchmarks by using the +say_with_time+ # method: # - # def self.up + # def up # ... # say_with_time "Updating salaries..." do # Person.find(:all).each do |p| |