1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revise documentation indentation from [79990505e5]

This commit is contained in:
Prem Sichanugrist 2011-06-03 15:06:03 -04:00
parent 79990505e5
commit 74f9a4629b

View file

@ -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]