mark relation mutator as :nodoc: [ci skip]

This commit is contained in:
Francesco Rodriguez 2013-04-02 19:15:19 -05:00
parent 4b8ea379f1
commit 919c86d2d5
1 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,6 @@ module ActiveRecord
#
# User.where.not(name: "Jon", role: "admin")
# # SELECT * FROM users WHERE name != 'Jon' AND role != 'admin'
#
def not(opts, *rest)
where_value = @scope.send(:build_where, opts, rest).map do |rel|
case rel
@ -353,7 +352,7 @@ module ActiveRecord
spawn.unscope!(*args)
end
def unscope!(*args)
def unscope!(*args) # :nodoc:
args.flatten!
args.each do |scope|