Rails 3 deprecation: use self.table_name instead of set_table_name - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 67f8143342d367141f27d5aae18f7b0c6cfa1325
(DIR) parent f7ade972fb3806796efeb8bdbf581019f15ce59c
(HTM) Author: Martin Kavalar <martin@sauspiel.de>
Date: Wed, 1 Feb 2012 11:41:16 +0100
Rails 3 deprecation: use self.table_name instead of set_table_name
Diffstat:
M lib/saulabs/reportable/report_cach… | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/lib/saulabs/reportable/report_cache.rb b/lib/saulabs/reportable/report_cache.rb
@@ -11,7 +11,7 @@ module Saulabs
#
class ReportCache < ActiveRecord::Base
- set_table_name :reportable_cache
+ self.table_name = :reportable_cache
validates_presence_of :model_name
validates_presence_of :report_name