Class: ActiveType::NoTable::DummyConnection

Inherits:
ActiveRecord::ConnectionAdapters::AbstractAdapter
  • Object
show all
Defined in:
lib/active_type/no_table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDummyConnection

Returns a new instance of DummyConnection.



122
123
124
125
# File 'lib/active_type/no_table.rb', line 122

def initialize(*)
  super
  @schema_cache = DummySchemaCache.new
end

Instance Attribute Details

#schema_cacheObject (readonly)

Returns the value of attribute schema_cache.



120
121
122
# File 'lib/active_type/no_table.rb', line 120

def schema_cache
  @schema_cache
end