specify attr_accessible as a god practice - reportable - Fork of reportable required by WarVox, from hdm/reportable.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 4081bb35d05fd34054f6c7a65f452cffde930ed0
 (DIR) parent d5fc613563ebfa6835d3683bc338ff753737ff61
 (HTM) Author: Marco Otte-Witte <marco.otte-witte@simplabs.com>
       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(-)
       ---
 (DIR) diff --git a/lib/saulabs/reportable/report_cache.rb b/lib/saulabs/reportable/report_cache.rb
       @@ -19,6 +19,8 @@ module Saulabs
              validates_presence_of :value
              validates_presence_of :reporting_period
        
       +      attr_accessible :model_name, :report_name, :grouping, :aggregation, :value, :reporting_period, :conditions
       +
              self.skip_time_zone_conversion_for_attributes = [:reporting_period]
        
              # Clears the cache for the specified +klass+ and +report+