Skip to content

Commit

Permalink
Don't require the frontbase adapter until you need to
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4293 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
Marcel Molina committed Apr 27, 2006
1 parent f3ce397 commit 1eade41
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -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

Expand Down Expand Up @@ -31,7 +30,7 @@ def frontbase_connection(config) # :nodoc:
# 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
Expand Down

0 comments on commit 1eade41

Please sign in to comment.