diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-12-29 08:56:29 -0800 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-12-29 08:56:29 -0800 |
commit | 7b34c5ca7b77708e8da1ce64df61c1906ac894a7 (patch) | |
tree | 7dfabff5444f33b05ceb4be8ef405e9df5c3340d /guides | |
parent | 1d38c82b7ad98d64f5ee45c0e08d5826e14d98c0 (diff) | |
parent | 0b79a93daf6b9d698b497413dd018c5012a5a2d7 (diff) | |
download | rails-7b34c5ca7b77708e8da1ce64df61c1906ac894a7.tar.gz rails-7b34c5ca7b77708e8da1ce64df61c1906ac894a7.tar.bz2 rails-7b34c5ca7b77708e8da1ce64df61c1906ac894a7.zip |
Merge pull request #8650 from codeodor/patch-1
Fix up/down column change example code formatting
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/migrations.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md index f2aa72492f..ca3d4bb4fa 100644 --- a/guides/source/migrations.md +++ b/guides/source/migrations.md @@ -79,7 +79,7 @@ end Alternatively, you can use `up` and `down` instead of `change`: -``ruby +```ruby class ChangeProductsPrice < ActiveRecord::Migration def up change_table :products do |t| |