method

condition_word

Importance_0
v2.1.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 1562
        def condition_word(sql)
          sql =~ /where/i ? " AND " : "WHERE "
        end
Register or log in to add new notes.