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:
parent
f3ce39749c
commit
1eade4137a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue