Class: DbBrowser::ConnectionMan::AbstractModel

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

Class Method Summary collapse

Class Method Details

.connection_for(key) ⇒ Object



29
30
31
32
# File 'lib/dbbrowser/connection.rb', line 29

def self.connection_for( key )
  establish_connection( key )
  connection
end