removing warning message from install.rb again - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit eacfacec016559287039c506ecb0cc88ec265488
(DIR) parent 9b3e0fbf0b0e4f88f328442a701097b7b4a9b81b
(HTM) Author: Marco Otte-Witte <marco.otte-witte@simplabs.com>
Date: Wed, 14 Jan 2009 00:12:28 +0800
removing warning message from install.rb again
Signed-off-by: Marco Otte-Witte <marco.otte-witte@simplabs.com>
Diffstat:
M generators/reports_as_sparkline_mi… | 1 +
M install.rb | 13 -------------
2 files changed, 1 insertion(+), 13 deletions(-)
---
(DIR) diff --git a/generators/reports_as_sparkline_migration/templates/migration.erb b/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,
(DIR) 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 reports_as_sparkline
- =====================================
- EOT
-end