aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-08-26 14:05:30 -0700
committerZachary Scott <e@zzak.io>2014-08-26 14:05:30 -0700
commit76457135012e2462f3cf131c20f8974f40898f50 (patch)
treeef9c3029b6dfe5b346466a598d45a2853f0ca868
parent73428f1fb61bc0b749cb55f9ab480f72ba81bcc0 (diff)
parentc03c991c51000f233a9fd4372033a07da0f37338 (diff)
downloadrails-76457135012e2462f3cf131c20f8974f40898f50.tar.gz
rails-76457135012e2462f3cf131c20f8974f40898f50.tar.bz2
rails-76457135012e2462f3cf131c20f8974f40898f50.zip
Merge pull request #16706 from tomkadwill/documented_include_record_param
[ci skip] Updated include to reference record parameter for rdoc
-rw-r--r--activerecord/lib/active_record/associations/collection_proxy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/collection_proxy.rb b/activerecord/lib/active_record/associations/collection_proxy.rb
index afd043424d..09a5782941 100644
--- a/activerecord/lib/active_record/associations/collection_proxy.rb
+++ b/activerecord/lib/active_record/associations/collection_proxy.rb
@@ -841,7 +841,7 @@ module ActiveRecord
@association.many?(&block)
end
- # Returns +true+ if the given object is present in the collection.
+ # Returns +true+ if the given +record+ is present in the collection.
#
# class Person < ActiveRecord::Base
# has_many :pets