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