diff options
author | Daniël de Vries <danielpunt@gmail.com> | 2015-02-19 16:03:22 +0100 |
---|---|---|
committer | Daniël de Vries <danielpunt@gmail.com> | 2015-02-19 16:03:22 +0100 |
commit | 5d463bd029bdc2b093535405d32b1e7dea2d133b (patch) | |
tree | fe7d6851de1fc038e432e9087075a59316e214d8 /activerecord/lib/active_record | |
parent | 0b09261af50b1fa6e7fcee534ca2bc0073945517 (diff) | |
download | rails-5d463bd029bdc2b093535405d32b1e7dea2d133b.tar.gz rails-5d463bd029bdc2b093535405d32b1e7dea2d133b.tar.bz2 rails-5d463bd029bdc2b093535405d32b1e7dea2d133b.zip |
fix column name in migration example [ci skip]
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 46f4794010..4a8e6bdd23 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -168,7 +168,7 @@ module ActiveRecord # This will generate the file <tt>timestamp_add_fieldname_to_tablename</tt>, which will look like this: # class AddFieldnameToTablename < ActiveRecord::Migration # def change - # add_column :tablenames, :field, :string + # add_column :tablenames, :fieldname, :string # end # end # |