Class: LabileRecord::Base

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

Class Method Summary collapse

Class Method Details

.connectionObject



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