From 74807383aab8ec42210153a81a36436eed70f656 Mon Sep 17 00:00:00 2001 From: Jason Noble Date: Sat, 3 Dec 2011 19:15:52 -0700 Subject: Reword confusing section --- railties/guides/source/migrations.textile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'railties') 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 -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 -- cgit v1.2.3