aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
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