aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2012-12-29 08:56:29 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2012-12-29 08:56:29 -0800
commit7b34c5ca7b77708e8da1ce64df61c1906ac894a7 (patch)
tree7dfabff5444f33b05ceb4be8ef405e9df5c3340d
parent1d38c82b7ad98d64f5ee45c0e08d5826e14d98c0 (diff)
parent0b79a93daf6b9d698b497413dd018c5012a5a2d7 (diff)
downloadrails-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
-rw-r--r--guides/source/migrations.md2
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|