diff options
author | Ned Ruggeri <ruggeri@self-loop.com> | 2012-10-01 03:27:26 -0700 |
---|---|---|
committer | Ned Ruggeri <ruggeri@self-loop.com> | 2012-10-01 03:34:44 -0700 |
commit | 7a9dea89d60a100668b5bba93aad0efa3a7ab800 (patch) | |
tree | 06ace8e5e3bc0a1c4837e5eb3b622f7140ce37d9 /guides/source | |
parent | 07a3c2103c0db8f960ea2ba2a8748a2fe2bed206 (diff) | |
download | rails-7a9dea89d60a100668b5bba93aad0efa3a7ab800.tar.gz rails-7a9dea89d60a100668b5bba93aad0efa3a7ab800.tar.bz2 rails-7a9dea89d60a100668b5bba93aad0efa3a7ab800.zip |
remove non sequitur NOTE on :include
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 1ae6a1f204..66e6390f67 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -375,8 +375,6 @@ end Another example would be if you wanted multiple workers handling the same processing queue. You could have each worker handle 10000 records by setting the appropriate `:start` option on each worker. -NOTE: The `:include` option allows you to name associations that should be loaded alongside with the models. - #### `find_in_batches` The `find_in_batches` method is similar to `find_each`, since both retrieve batches of records. The difference is that `find_in_batches` yields _batches_ to the block as an array of models, instead of individually. The following example will yield to the supplied block an array of up to 1000 invoices at a time, with the final block containing any remaining invoices: |