aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Kadwill <tomkadwill@gmail.com>2014-08-08 10:00:23 +0100
committerTom Kadwill <tomkadwill@gmail.com>2014-08-08 10:00:23 +0100
commit9ef0f0f69f669a0a0de1a01bfecc1d7fff3f90a6 (patch)
tree8b1bb30fa2c1c034b821625181ac888066fb3201
parent30529dc00f96777c325dff496930f560fb9d59e9 (diff)
downloadrails-9ef0f0f69f669a0a0de1a01bfecc1d7fff3f90a6.tar.gz
rails-9ef0f0f69f669a0a0de1a01bfecc1d7fff3f90a6.tar.bz2
rails-9ef0f0f69f669a0a0de1a01bfecc1d7fff3f90a6.zip
[ci skip] Changed 'first argument' to '+name+ argument'
-rw-r--r--activerecord/lib/active_record/associations.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index ec78d10124..c39183ab31 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -1052,7 +1052,7 @@ module ActiveRecord
# Specifies a one-to-many association. The following methods for retrieval and query of
# collections of associated objects will be added:
#
- # +collection+ is a placeholder for the symbol passed as the first argument, so
+ # +collection+ is a placeholder for the symbol passed as the +name+ argument, so
# <tt>has_many :clients</tt> would add among others <tt>clients.empty?</tt>.
#
# [collection(force_reload = false)]
@@ -1227,7 +1227,7 @@ module ActiveRecord
#
# The following methods for retrieval and query of a single associated object will be added:
#
- # +association+ is a placeholder for the symbol passed as the first argument, so
+ # +association+ is a placeholder for the symbol passed as the +name+ argument, so
# <tt>has_one :manager</tt> would add among others <tt>manager.nil?</tt>.
#
# [association(force_reload = false)]
@@ -1338,7 +1338,7 @@ module ActiveRecord
# Methods will be added for retrieval and query for a single associated object, for which
# this object holds an id:
#
- # +association+ is a placeholder for the symbol passed as the first argument, so
+ # +association+ is a placeholder for the symbol passed as the +name+ argument, so
# <tt>belongs_to :author</tt> would add among others <tt>author.nil?</tt>.
#
# [association(force_reload = false)]
@@ -1480,7 +1480,7 @@ module ActiveRecord
#
# Adds the following methods for retrieval and query:
#
- # +collection+ is a placeholder for the symbol passed as the first argument, so
+ # +collection+ is a placeholder for the symbol passed as the +name+ argument, so
# <tt>has_and_belongs_to_many :categories</tt> would add among others <tt>categories.empty?</tt>.
#
# [collection(force_reload = false)]