diff options
author | Marcel Molina <marcel@vernix.org> | 2006-04-27 22:54:34 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2006-04-27 22:54:34 +0000 |
commit | 1eade4137a96a55ed699d49c18fe177224363e7d (patch) | |
tree | 44675878dc25fc3587c8115dce1eb20d3a129871 /activerecord | |
parent | f3ce39749cbd35bdeac1fdea27bd3136977a8188 (diff) | |
download | rails-1eade4137a96a55ed699d49c18fe177224363e7d.tar.gz rails-1eade4137a96a55ed699d49c18fe177224363e7d.tar.bz2 rails-1eade4137a96a55ed699d49c18fe177224363e7d.zip |
Don't require the frontbase adapter until you need to
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb b/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb index 6fa2ca3ffc..0610b7dbc1 100644 --- a/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb @@ -2,7 +2,6 @@ # svn://rubyforge.org/var/svn/frontbase-rails/trunk/ruby-frontbase require 'active_record/connection_adapters/abstract_adapter' -require 'frontbase' FB_TRACE = false @@ -31,7 +30,7 @@ module ActiveRecord # Turn off colorization since it makes tail/less output difficult self.colorize_logging = false - + require 'frontbase' connection = FBSQL_Connect.connect(host, port, database, username, password, dbpassword, session_name) ConnectionAdapters::FrontBaseAdapter.new(connection, logger, [host, port, database, username, password, dbpassword, session_name], config) end |