class

ActiveRecord::QueryMethods::WhereChain

v6.0.0 - Show latest stable - Superclass: Object

WhereChain objects act as placeholder for queries in which #where does not have any parameter. In this case, #where must be chained with #not to return a new relation.

Included modules

  • ActiveModel::ForbiddenAttributesProtection

Files

  • activerecord/lib/active_record/relation/query_methods.rb