Introduction
Introduction Statistics Contact Development Disclaimer Help
Rails 3 deprecation: use self.table_name instead of set_table_name - reportable…
Log
Files
Refs
README
---
commit 67f8143342d367141f27d5aae18f7b0c6cfa1325
parent f7ade972fb3806796efeb8bdbf581019f15ce59c
Author: Martin Kavalar <[email protected]>
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(-)
---
diff --git a/lib/saulabs/reportable/report_cache.rb b/lib/saulabs/reportable/re…
@@ -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
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.