method
having!
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::QueryMethods
having!(opts, *rest)public
No documentation available.
# File activerecord/lib/active_record/relation/query_methods.rb, line 706
def having!(opts, *rest) # :nodoc:
opts = sanitize_forbidden_attributes(opts)
references!(PredicateBuilder.references(opts)) if Hash === opts
self.having_clause += having_clause_factory.build(opts, rest)
self
end