Module: ActiveRecord::ConnectionAdapters::DetermineIfPreparableVisitor
- Defined in:
- lib/active_record/connection_adapters/determine_if_preparable_visitor.rb
Instance Attribute Summary collapse
-
#preparable ⇒ Object
readonly
Returns the value of attribute preparable.
Instance Method Summary collapse
Instance Attribute Details
#preparable ⇒ Object (readonly)
Returns the value of attribute preparable.
6 7 8 |
# File 'lib/active_record/connection_adapters/determine_if_preparable_visitor.rb', line 6 def preparable @preparable end |
Instance Method Details
#accept ⇒ Object
8 9 10 11 |
# File 'lib/active_record/connection_adapters/determine_if_preparable_visitor.rb', line 8 def accept(*) @preparable = true super end |
#visit_Arel_Nodes_In ⇒ Object
13 14 15 16 |
# File 'lib/active_record/connection_adapters/determine_if_preparable_visitor.rb', line 13 def visit_Arel_Nodes_In(*) @preparable = false super end |
#visit_Arel_Nodes_SqlLiteral ⇒ Object
18 19 20 21 |
# File 'lib/active_record/connection_adapters/determine_if_preparable_visitor.rb', line 18 def visit_Arel_Nodes_SqlLiteral(*) @preparable = false super end |