add proper post_uploads reverse index

This commit is contained in:
Régis Hanol
2013-06-13 23:44:24 +02:00
parent bd1b4d3130
commit 037f62928b
9 changed files with 53 additions and 6 deletions

View File

@@ -0,0 +1,4 @@
class PostUpload < ActiveRecord::Base
belongs_to :post
belongs_to :upload
end