Revise documentation indentation from [79990505e5080804b53d81fec059136afa2237d7]

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

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