Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/connection_adapters/datastore_adapter.rb

Class Method Summary collapse

Class Method Details

.datastore_connection(config) ⇒ Object

:nodoc:



14
15
16
# File 'lib/active_record/connection_adapters/datastore_adapter.rb', line 14

def self.datastore_connection(config) # :nodoc:
  ConnectionAdapters::DatastoreAdapter.new( ConnectionAdapters::DatastoreAdapter::DB.new( config.symbolize_keys ), logger )
end