diff options
author | Philip Arndt <parndt@gmail.com> | 2012-01-30 11:48:24 +1300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-01-30 11:48:24 +1300 |
commit | 44a059a47502eba436de440b542be76807501953 (patch) | |
tree | c5ad5c5c6bd505dd47cc4b42334507a5908aba2f /app | |
parent | f8cd5804ad8a26e59e2a2b18f624678934a3641b (diff) | |
download | refinerycms-blog-44a059a47502eba436de440b542be76807501953.tar.gz refinerycms-blog-44a059a47502eba436de440b542be76807501953.tar.bz2 refinerycms-blog-44a059a47502eba436de440b542be76807501953.zip |
Fix for deprecation in Rails 3.2
Diffstat (limited to 'app')
-rw-r--r-- | app/models/refinery/categorization.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/refinery/categorization.rb b/app/models/refinery/categorization.rb index 97f0928..086c2d1 100644 --- a/app/models/refinery/categorization.rb +++ b/app/models/refinery/categorization.rb @@ -1,7 +1,7 @@ module Refinery class Categorization < ActiveRecord::Base - set_table_name 'refinery_blog_categories_blog_posts' + 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 |