Skip to content

Commit

Permalink
update documentation to reflect support for multiple arguments to "wi…
Browse files Browse the repository at this point in the history
…thout_..."
  • Loading branch information
spemmons committed Mar 23, 2012
1 parent 2428e35 commit 74b4938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -89,7 +89,7 @@ Find records without specific attributes:
# => (all users who are not editors)

User.without_roles(:writer, :editor)
# => (all users who are neither writers nor editors)
# => (all users who are NEITHER writers nor editors)

Note that "without_" supports one or more attribute arguments, and the "no_" method does not support arguments.
And "with_exact_" without arguments is alias for "no_"
Expand Down

0 comments on commit 74b4938

Please sign in to comment.