Class: ActiveRecord::Base

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

Overview

sqlite3 can have only one connection at the time

Constant Summary collapse

@@shared_connection =
nil

Class Method Summary collapse

Class Method Details

.connectionObject



15
16
17
# File 'lib/rails_gwt/dsl.rb', line 15

def self.connection
  @@shared_connection || retrieve_connection
end