aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-01-30 11:48:24 +1300
committerPhilip Arndt <parndt@gmail.com>2012-01-30 11:48:24 +1300
commit44a059a47502eba436de440b542be76807501953 (patch)
treec5ad5c5c6bd505dd47cc4b42334507a5908aba2f /app
parentf8cd5804ad8a26e59e2a2b18f624678934a3641b (diff)
downloadrefinerycms-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.rb2
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