aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJason Noble <perlwizard@gmail.com>2011-12-03 19:15:52 -0700
committerJason Noble <perlwizard@gmail.com>2011-12-03 19:31:43 -0700
commit74807383aab8ec42210153a81a36436eed70f656 (patch)
tree4b568c6a8e1efe7f89ffcb5a3a4cecfadd1dbe61 /railties
parenta41295fdaa1d2da3c8ca90b5ad7babbcc21aef14 (diff)
downloadrails-74807383aab8ec42210153a81a36436eed70f656.tar.gz
rails-74807383aab8ec42210153a81a36436eed70f656.tar.bz2
rails-74807383aab8ec42210153a81a36436eed70f656.zip
Reword confusing section
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/migrations.textile6
1 files changed, 2 insertions, 4 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile
index 3595ed90f4..cfd89721ad 100644
--- a/railties/guides/source/migrations.textile
+++ b/railties/guides/source/migrations.textile
@@ -399,10 +399,8 @@ change_table :products do |t|
end
</ruby>
-You don't have to keep repeating the table name and it groups all the statements
-related to modifying one particular table. The individual transformation names
-are also shorter, for example +remove_column+ becomes just +remove+ and
-+add_index+ becomes just +index+.
+removes the +description+ and +name+ columns, creates a +part_number+ string
+column and adds an index on it. Finally it renames the +upccode+ column.
h4. Special Helpers