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.



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

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

Instance Attribute Details

#schema_cacheObject (readonly)

Returns the value of attribute schema_cache.



116
117
118
# File 'lib/active_type/no_table.rb', line 116

def schema_cache
  @schema_cache
end