oops, fixed the migration template - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 74142d6345659afeccb3f03709b70deef95ce828
(DIR) parent 503719cb2730e09bc18ae2d05633b75bd3b0a02a
(HTM) Author: Marco Otte-Witte <marco.otte-witte@simplabs.com>
Date: Thu, 11 Mar 2010 20:42:36 +0100
oops, fixed the migration template
Diffstat:
M generators/reportable_migration/te… | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/generators/reportable_migration/templates/migration.erb b/generators/reportable_migration/templates/migration.erb
@@ -18,14 +18,14 @@ class <%= class_name %> < ActiveRecord::Migration
:report_name,
:grouping,
:aggregation,
- :condition
+ :conditions
], :name => :name_model_grouping_agregation
add_index :reportable_cache, [
:model_name,
:report_name,
:grouping,
:aggregation,
- :condition,
+ :conditions,
:reporting_period
], :unique => true, :name => :name_model_grouping_aggregation_period
end