Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revise documentation indentation from [7999050]

  • Loading branch information...
commit eade59177d2a71348660b853a87f8cd13e099465 1 parent 5e44184
@sikachu sikachu authored fxn committed
Showing with 6 additions and 6 deletions.
  1. +6 −6 activerecord/CHANGELOG
View
12 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]
Please sign in to comment.
Something went wrong with that request. Please try again.