mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] Fix typo of collection_singular_ids=
method.
This commit is contained in:
parent
35b1c4f85c
commit
277355ade0
1 changed files with 4 additions and 4 deletions
|
@ -1323,7 +1323,7 @@ When you declare a `has_many` association, the declaring class automatically gai
|
|||
* `collection.destroy(object, ...)`
|
||||
* `collection=objects`
|
||||
* `collection_singular_ids`
|
||||
* `collection_singular_ids=ids`
|
||||
* `collection_singular_ids=(ids)`
|
||||
* `collection.clear`
|
||||
* `collection.empty?`
|
||||
* `collection.size`
|
||||
|
@ -1411,7 +1411,7 @@ The `collection_singular_ids` method returns an array of the ids of the objects
|
|||
@order_ids = @customer.order_ids
|
||||
```
|
||||
|
||||
##### `collection_singular_ids=ids`
|
||||
##### `collection_singular_ids=(ids)`
|
||||
|
||||
The `collection_singular_ids=` method makes the collection contain only the objects identified by the supplied primary key values, by adding and deleting as appropriate.
|
||||
|
||||
|
@ -1812,7 +1812,7 @@ When you declare a `has_and_belongs_to_many` association, the declaring class au
|
|||
* `collection.destroy(object, ...)`
|
||||
* `collection=objects`
|
||||
* `collection_singular_ids`
|
||||
* `collection_singular_ids=ids`
|
||||
* `collection_singular_ids=(ids)`
|
||||
* `collection.clear`
|
||||
* `collection.empty?`
|
||||
* `collection.size`
|
||||
|
@ -1907,7 +1907,7 @@ The `collection_singular_ids` method returns an array of the ids of the objects
|
|||
@assembly_ids = @part.assembly_ids
|
||||
```
|
||||
|
||||
##### `collection_singular_ids=ids`
|
||||
##### `collection_singular_ids=(ids)`
|
||||
|
||||
The `collection_singular_ids=` method makes the collection contain only the objects identified by the supplied primary key values, by adding and deleting as appropriate.
|
||||
|
||||
|
|
Loading…
Reference in a new issue