Update rails-models.md

This commit is contained in:
Rico Sta. Cruz 2014-05-28 16:08:17 +08:00
parent 8c124682c9
commit 2d350582f8
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ Or HABTM:
And in migrations:
create_table :images do
create_table :images do |t|
t.references :post, :polymorphic => true
end