Class: ThinkingSphinx::ActiveRecord::DatabaseAdapters::AbstractAdapter
- Inherits:
-
Object
- Object
- ThinkingSphinx::ActiveRecord::DatabaseAdapters::AbstractAdapter
show all
- Defined in:
- lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb
Instance Method Summary
collapse
Constructor Details
Returns a new instance of AbstractAdapter.
4
5
6
|
# File 'lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb', line 4
def initialize(model)
@model = model
end
|
Instance Method Details
#quote(column) ⇒ Object
8
9
10
|
# File 'lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb', line 8
def quote(column)
@model.connection.quote_column_name(column)
end
|
#quoted_table_name ⇒ Object
12
13
14
|
# File 'lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb', line 12
def quoted_table_name
@model.quoted_table_name
end
|
#utf8_query_pre ⇒ Object
16
17
18
|
# File 'lib/thinking_sphinx/active_record/database_adapters/abstract_adapter.rb', line 16
def utf8_query_pre
[]
end
|