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.
4 5 6 |
# File 'lib/active_record/connection_adapters/determine_if_preparable_visitor.rb', line 4 def preparable @preparable end |
Instance Method Details
#accept ⇒ Object
6 7 8 9 |
# File 'lib/active_record/connection_adapters/determine_if_preparable_visitor.rb', line 6 def accept(*) @preparable = true super end |
#visit_Arel_Nodes_In ⇒ Object
11 12 13 14 |
# File 'lib/active_record/connection_adapters/determine_if_preparable_visitor.rb', line 11 def visit_Arel_Nodes_In(*) @preparable = false super end |
#visit_Arel_Nodes_SqlLiteral ⇒ Object
16 17 18 19 |
# File 'lib/active_record/connection_adapters/determine_if_preparable_visitor.rb', line 16 def visit_Arel_Nodes_SqlLiteral(*) @preparable = false super end |