Class: TangoOrm::DBConnection
- Inherits:
-
Object
- Object
- TangoOrm::DBConnection
- Defined in:
- lib/tango_orm/db_connection.rb
Class Method Summary collapse
Class Method Details
.set_connection ⇒ Object
7 8 9 |
# File 'lib/tango_orm/db_connection.rb', line 7 def self.set_connection PG.connect(dbname: config['database']) end |