1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
Marcel Molina 2006-04-27 22:54:34 +00:00
parent f3ce39749c
commit 1eade4137a

View file

@ -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