class ActiveRecord::Base
Public Class Methods
nulldb_connection(config)
click to toggle source
Instantiate a new NullDB connection. Used by ActiveRecord internally.
# File lib/nulldb/extensions.rb, line 28 def self.nulldb_connection(config) ActiveRecord::ConnectionAdapters::NullDBAdapter.new(config) end