aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2011-06-03 15:06:03 -0400
committerPrem Sichanugrist <s@sikachu.com>2011-06-03 15:06:03 -0400
commit74f9a4629b95aa8fb76f84395a8c4b9efaaa6785 (patch)
treec97f9e1376aacc0196ebc117b64f28d789b8f1b4 /activerecord/CHANGELOG
parent79990505e5080804b53d81fec059136afa2237d7 (diff)
downloadrails-74f9a4629b95aa8fb76f84395a8c4b9efaaa6785.tar.gz
rails-74f9a4629b95aa8fb76f84395a8c4b9efaaa6785.tar.bz2
rails-74f9a4629b95aa8fb76f84395a8c4b9efaaa6785.zip
Revise documentation indentation from [79990505e5080804b53d81fec059136afa2237d7]
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r--activerecord/CHANGELOG12
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index f44ddc58b4..97bec3f11d 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -237,13 +237,13 @@
rails g model post user:belongs_to will generate the following:
class CreatePosts < ActiveRecord::Migration
- def change
- create_table :posts do |t|
- t.belongs_to :user
- t.timestamps
- end
- add_index :posts, :user_id
+ def change
+ create_table :posts do |t|
+ t.belongs_to :user
+ t.timestamps
end
+ add_index :posts, :user_id
+ end
end
[Santiago Pastorino]