mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Link association.exists?(...) to API docs [ci skip]
This commit is contained in:
parent
1214f0b74f
commit
4311f05124
1 changed files with 6 additions and 2 deletions
|
@ -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 = {})`
|
||||
|
||||
|
|
Loading…
Reference in a new issue