Class: ActiveRecord::Query::And
- Defined in:
- lib/active_record/query/context.rb
Instance Method Summary collapse
Methods inherited from Context
Constructor Details
This class inherits a constructor from ActiveRecord::Query::Context
Instance Method Details
#<<(node) ⇒ Object
34 35 36 37 |
# File 'lib/active_record/query/context.rb', line 34 def <<(node) super true end |
#nodes ⇒ Object
30 31 32 |
# File 'lib/active_record/query/context.rb', line 30 def nodes Arel::Nodes::And.new(@nodes) end |