Method: Arel::SelectManager#where
- Defined in:
- activerecord/lib/arel/select_manager.rb
#where(expr) ⇒ Object
184 185 186 187 188 189 190 |
# File 'activerecord/lib/arel/select_manager.rb', line 184 def where(expr) if Arel::TreeManager === expr expr = expr.ast end @ctx.wheres << expr self end |