Flowdock
method

where!

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActiveRecord::QueryMethods
where!(opts = :chain, *rest) public

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/relation/query_methods.rb, line 563
    def where!(opts = :chain, *rest) # :nodoc:
      if opts == :chain
        WhereChain.new(self)
      else
        if Hash === opts
          opts = sanitize_forbidden_attributes(opts)
          references!(PredicateBuilder.references(opts))
        end

        self.where_values += build_where(opts, rest)
        self
      end
    end
Register or log in to add new notes.