diff options
author | Philip Arndt <parndt@gmail.com> | 2012-04-18 14:18:39 -0700 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-04-18 14:18:39 -0700 |
commit | 8b8ce1f21bbdde6a9e26adfb7169fb22d819fbc2 (patch) | |
tree | 4a9bc32fa143445c1a2aa584e5a2241c2f89b45e /app/models/refinery | |
parent | 70f7be1652c43b8a4290f348d102e280412a86e7 (diff) | |
parent | dbeed9bb77d43071811e3ed3b155403f8e91d993 (diff) | |
download | refinerycms-blog-8b8ce1f21bbdde6a9e26adfb7169fb22d819fbc2.tar.gz refinerycms-blog-8b8ce1f21bbdde6a9e26adfb7169fb22d819fbc2.tar.bz2 refinerycms-blog-8b8ce1f21bbdde6a9e26adfb7169fb22d819fbc2.zip |
Merge pull request #225 from mattsgarrison/master
Fix for Categories and Rails 3.2 Mass Assignment whitelist requirements.
Diffstat (limited to 'app/models/refinery')
-rw-r--r-- | app/models/refinery/categorization.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/refinery/categorization.rb b/app/models/refinery/categorization.rb index 086c2d1..ec51ea7 100644 --- a/app/models/refinery/categorization.rb +++ b/app/models/refinery/categorization.rb @@ -4,6 +4,7 @@ module Refinery self.table_name = 'refinery_blog_categories_blog_posts' 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
\ No newline at end of file |