diff options
author | Jeff Dutil <jdutil21@gmail.com> | 2011-08-16 22:59:36 -0400 |
---|---|---|
committer | Jeff Dutil <jdutil21@gmail.com> | 2011-08-16 22:59:36 -0400 |
commit | f302370c0527cd5f24889e7068134e59b65b40f1 (patch) | |
tree | 0bebed9134b31a7e140d5ce0b553e307569d74f7 /railties/guides/source/migrations.textile | |
parent | 7ff894dcc75b46274e20a20c26b679e204e6c82b (diff) | |
download | rails-f302370c0527cd5f24889e7068134e59b65b40f1.tar.gz rails-f302370c0527cd5f24889e7068134e59b65b40f1.tar.bz2 rails-f302370c0527cd5f24889e7068134e59b65b40f1.zip |
Fix ruby typo to correctly render code block in initializer.textile
Diffstat (limited to 'railties/guides/source/migrations.textile')
-rw-r--r-- | railties/guides/source/migrations.textile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index 9da12e2e18..6fcc3cf4a2 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -300,6 +300,7 @@ change_table :products do |t| t.rename :upccode, :upc_code end </ruby> + removes the +description+ and +name+ columns, creates a +part_number+ column and adds an index on it. Finally it renames the +upccode+ column. This is the same as doing <ruby> |