Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/active_record/connection_adapters/nulldb_adapter.rb
Class Method Summary collapse
-
.nulldb_connection(config) ⇒ Object
Instantiate a new NullDB connection.
Class Method Details
.nulldb_connection(config) ⇒ Object
Instantiate a new NullDB connection. Used by ActiveRecord internally.
53 54 55 |
# File 'lib/active_record/connection_adapters/nulldb_adapter.rb', line 53 def self.nulldb_connection(config) ActiveRecord::ConnectionAdapters::NullDBAdapter.new(config) end |