Skip to content

Commit

Permalink
Merge pull request #25153 from jaredbeck/docs_re_assoc_persist
Browse files Browse the repository at this point in the history
Docs: Clarify when assoc. methods persist [ci skip]
  • Loading branch information
vipulnsward committed May 26, 2016
2 parents 28a7c98 + f95fe79 commit 8b64b7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions guides/source/association_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ WARNING: Objects will _always_ be removed from the database, ignoring the `:depe

##### `collection=(objects)`

The `collection=` method makes the collection contain only the supplied objects, by adding and deleting as appropriate.
The `collection=` method makes the collection contain only the supplied objects, by adding and deleting as appropriate. The changes are persisted to the database.

##### `collection_singular_ids`

Expand All @@ -1489,7 +1489,7 @@ The `collection_singular_ids` method returns an array of the ids of the objects

##### `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.
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. The changes are persisted to the database.

##### `collection.clear`

Expand Down Expand Up @@ -2006,7 +2006,7 @@ The `collection.destroy` method removes one or more objects from the collection

##### `collection=(objects)`

The `collection=` method makes the collection contain only the supplied objects, by adding and deleting as appropriate.
The `collection=` method makes the collection contain only the supplied objects, by adding and deleting as appropriate. The changes are persisted to the database.

##### `collection_singular_ids`

Expand All @@ -2018,7 +2018,7 @@ The `collection_singular_ids` method returns an array of the ids of the objects

##### `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.
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. The changes are persisted to the database.

##### `collection.clear`

Expand Down

0 comments on commit 8b64b7f

Please sign in to comment.