| specify attr_accessible as a god practice - reportable - Fork of reportable req… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 4081bb35d05fd34054f6c7a65f452cffde930ed0 | |
| parent d5fc613563ebfa6835d3683bc338ff753737ff61 | |
| Author: Marco Otte-Witte <[email protected]> | |
| Date: Thu, 13 May 2010 12:18:43 +0200 | |
| specify attr_accessible as a god practice | |
| Diffstat: | |
| M lib/saulabs/reportable/report_cach… | 2 ++ | |
| 1 file changed, 2 insertions(+), 0 deletions(-) | |
| --- | |
| diff --git a/lib/saulabs/reportable/report_cache.rb b/lib/saulabs/reportable/re… | |
| @@ -19,6 +19,8 @@ module Saulabs | |
| validates_presence_of :value | |
| validates_presence_of :reporting_period | |
| + attr_accessible :model_name, :report_name, :grouping, :aggregation, :val… | |
| + | |
| self.skip_time_zone_conversion_for_attributes = [:reporting_period] | |
| # Clears the cache for the specified +klass+ and +report+ |