aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/migrations.md
diff options
context:
space:
mode:
authorSammy Larbi <sam@codeodor.com>2012-12-29 10:50:05 -0600
committerSammy Larbi <sam@codeodor.com>2012-12-29 10:50:05 -0600
commit0b79a93daf6b9d698b497413dd018c5012a5a2d7 (patch)
tree7dfabff5444f33b05ceb4be8ef405e9df5c3340d /guides/source/migrations.md
parent1d38c82b7ad98d64f5ee45c0e08d5826e14d98c0 (diff)
downloadrails-0b79a93daf6b9d698b497413dd018c5012a5a2d7.tar.gz
rails-0b79a93daf6b9d698b497413dd018c5012a5a2d7.tar.bz2
rails-0b79a93daf6b9d698b497413dd018c5012a5a2d7.zip
Fix up/down column change example code formatting
Diffstat (limited to 'guides/source/migrations.md')
-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|