method

process_conditions

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: Association
process_conditions(conditions) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations/preloader/association.rb, line 115
        def process_conditions(conditions)
          if conditions.respond_to?(:to_proc)
            conditions = klass.send(:instance_eval, &conditions)
          end

          if conditions
            klass.send(:sanitize_sql, conditions)
          end
        end
Register or log in to add new notes.