| removing warning message from install.rb again - reportable - Fork of reportabl… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit eacfacec016559287039c506ecb0cc88ec265488 | |
| parent 9b3e0fbf0b0e4f88f328442a701097b7b4a9b81b | |
| Author: Marco Otte-Witte <[email protected]> | |
| Date: Wed, 14 Jan 2009 00:12:28 +0800 | |
| removing warning message from install.rb again | |
| Signed-off-by: Marco Otte-Witte <[email protected]> | |
| Diffstat: | |
| M generators/reports_as_sparkline_mi… | 1 + | |
| M install.rb | 13 ------------- | |
| 2 files changed, 1 insertion(+), 13 deletions(-) | |
| --- | |
| diff --git a/generators/reports_as_sparkline_migration/templates/migration.erb … | |
| @@ -11,6 +11,7 @@ class <%= class_name %> < ActiveRecord::Migration | |
| t.timestamps | |
| end | |
| + | |
| add_index :report_caches, [ | |
| :model_name, | |
| :report_name, | |
| diff --git a/install.rb b/install.rb | |
| @@ -1,13 +0,0 @@ | |
| -supported_databases = [] | |
| -# 'ActiveRecord::ConnectionAdapters::PostgreSQLAdapter', | |
| -# 'ActiveRecord::ConnectionAdapters::MysqlAdapter', | |
| -# 'ActiveRecord::ConnectionAdapters::SQLite3Adapter' | |
| -#] | |
| - | |
| -unless supported_databases.include?(ActiveRecord::Base.connection.class.to_s) | |
| - puts <<-EOT | |
| - ===================================== | |
| - Your database #{ActiveRecord::Base.connection.class} is not supported by r… | |
| - ===================================== | |
| - EOT | |
| -end |