aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/association_basics.md
diff options
context:
space:
mode:
authorEliot Sykes <eliotsykes@gmail.com>2015-05-22 08:06:36 +0100
committerEliot Sykes <eliotsykes@gmail.com>2015-05-22 09:27:51 +0100
commit4311f05124dec96d356757fbe8ccc5006fe851ad (patch)
tree8d1686acefabe604677b1548ceed018d131f30ae /guides/source/association_basics.md
parent1214f0b74f6b2910b3f0cdbd1410d0e507e99654 (diff)
downloadrails-4311f05124dec96d356757fbe8ccc5006fe851ad.tar.gz
rails-4311f05124dec96d356757fbe8ccc5006fe851ad.tar.bz2
rails-4311f05124dec96d356757fbe8ccc5006fe851ad.zip
Link association.exists?(...) to API docs [ci skip]
Diffstat (limited to 'guides/source/association_basics.md')
-rw-r--r--guides/source/association_basics.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md
index 412cfd198a..6ff1f8fc43 100644
--- a/guides/source/association_basics.md
+++ b/guides/source/association_basics.md
@@ -1506,7 +1506,9 @@ The `collection.where` method finds objects within the collection based on the c
##### `collection.exists?(...)`
-The `collection.exists?` method checks whether an object meeting the supplied conditions exists in the collection. It uses the same syntax and options as `ActiveRecord::Base.exists?`.
+The `collection.exists?` method checks whether an object meeting the supplied
+conditions exists in the collection. It uses the same syntax and options as
+[`ActiveRecord::Base.exists?`](http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-exists-3F).
##### `collection.build(attributes = {}, ...)`
@@ -2004,7 +2006,9 @@ The `collection.where` method finds objects within the collection based on the c
##### `collection.exists?(...)`
-The `collection.exists?` method checks whether an object meeting the supplied conditions exists in the collection. It uses the same syntax and options as `ActiveRecord::Base.exists?`.
+The `collection.exists?` method checks whether an object meeting the supplied
+conditions exists in the collection. It uses the same syntax and options as
+[`ActiveRecord::Base.exists?`](http://api.rubyonrails.org/classes/ActiveRecord/FinderMethods.html#method-i-exists-3F).
##### `collection.build(attributes = {})`