1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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|