Class: LabileRecord::Base
- Inherits:
-
Object
- Object
- LabileRecord::Base
- Defined in:
- lib/labilerecord.rb
Class Method Summary collapse
Class Method Details
.connection ⇒ Object
19 20 21 |
# File 'lib/labilerecord.rb', line 19 def connection @connection end |
.connection=(*args) ⇒ Object
23 24 25 |
# File 'lib/labilerecord.rb', line 23 def connection=(*args) @connection = PGconn.open(*args) end |