Class: LabileRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/labilerecord.rb

Class Method Summary collapse

Class Method Details

.connection(*args) ⇒ Object



20
21
22
# File 'lib/labilerecord.rb', line 20

def connection(*args)
  @connection
end

.connection=(*args) ⇒ Object



24
25
26
# File 'lib/labilerecord.rb', line 24

def connection=(*args)
  @connection = PGconn.open(*args)
end