Class: ActiveType::NoTable::DummyConnection
- Inherits:
-
ActiveRecord::ConnectionAdapters::AbstractAdapter
- Object
- ActiveRecord::ConnectionAdapters::AbstractAdapter
- ActiveType::NoTable::DummyConnection
- Defined in:
- lib/active_type/no_table.rb
Instance Attribute Summary collapse
-
#schema_cache ⇒ Object
readonly
Returns the value of attribute schema_cache.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ DummyConnection
constructor
A new instance of DummyConnection.
- #pool ⇒ Object
Constructor Details
#initialize ⇒ DummyConnection
Returns a new instance of DummyConnection.
35 36 37 38 39 |
# File 'lib/active_type/no_table.rb', line 35 def initialize(*) super @schema_cache = DummySchemaCache.new @pool = DummyPool.new end |
Instance Attribute Details
#schema_cache ⇒ Object (readonly)
Returns the value of attribute schema_cache.
33 34 35 |
# File 'lib/active_type/no_table.rb', line 33 def schema_cache @schema_cache end |
Class Method Details
.quote_column_name(column_name) ⇒ Object
41 42 43 |
# File 'lib/active_type/no_table.rb', line 41 def self.quote_column_name(column_name) column_name.to_s end |
Instance Method Details
#pool ⇒ Object
45 46 47 |
# File 'lib/active_type/no_table.rb', line 45 def pool @pool end |