Class: ActsAsFuRails3::Connection

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/acts_as_fu_rails3.rb

Class Method Summary collapse

Class Method Details

.connect!(config = {}) ⇒ Object



13
14
15
16
17
# File 'lib/acts_as_fu_rails3.rb', line 13

def self.connect!(config={})
  @@log = ""
  self.logger = Logger.new(StringIO.new(log))
  self.establish_connection(config)
end