method

condition_word

Importance_0
v1.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::ClassMethods
condition_word(sql) 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.rb, line 1056
        def condition_word(sql)
          sql =~ /where/i ? " AND " : "WHERE "
        end
Register or log in to add new notes.