Adding attr_accessible for Rails 3.2 mass assignment fixes.

This commit is contained in:
Matt Garrison 2012-04-18 10:40:04 -05:00 committed by Uģis Ozols
parent 6cbf130c83
commit e9406d2693

View file

@ -5,5 +5,6 @@ module Refinery
belongs_to :blog_post, :class_name => 'Refinery::Blog::Post', :foreign_key => :blog_post_id
belongs_to :blog_category, :class_name => 'Refinery::Blog::Category', :foreign_key => :blog_category_id
attr_accessible :blog_category_id, :blog_post_id
end
end