Skip to content

Commit

Permalink
Fix WhereChain docs to mention only not
Browse files Browse the repository at this point in the history
  • Loading branch information
ernie committed Mar 5, 2013
1 parent 50b3b96 commit 0c39987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/relation/query_methods.rb
Expand Up @@ -5,7 +5,7 @@ module QueryMethods
extend ActiveSupport::Concern

# WhereChain objects act as placeholder for queries in which #where does not have any parameter.
# In this case, #where must be chained with either #not, #like, or #not_like to return a new relation.
# In this case, #where must be chained with #not to return a new relation.
class WhereChain
def initialize(scope)
@scope = scope
Expand Down

0 comments on commit 0c39987

Please sign in to comment.