method

add_conditions!

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActiveRecord::Base
add_conditions!(sql, conditions, scope = :auto) private

Adds a sanitized version of conditions to the sql string. Note that the passed-in sql string is changed. The optional scope argument is for the current :find scope.

Show source
Register or log in to add new notes.