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
parent 70f7be1652
commit dbeed9bb77

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