diff options
author | Francesco RodrÃguez <lrodriguezsanc@gmail.com> | 2012-10-05 15:07:46 -0700 |
---|---|---|
committer | Francesco RodrÃguez <lrodriguezsanc@gmail.com> | 2012-10-05 15:07:46 -0700 |
commit | 5af266a08a9167d8a9eea86eb6b85a66afa47f60 (patch) | |
tree | 5c70e5cacc94110d154dc3ff7bee85bd9ceff3db /guides | |
parent | 8b7f353b805ecfed53ab828bb913fd9356eb882e (diff) | |
parent | 7a9dea89d60a100668b5bba93aad0efa3a7ab800 (diff) | |
download | rails-5af266a08a9167d8a9eea86eb6b85a66afa47f60.tar.gz rails-5af266a08a9167d8a9eea86eb6b85a66afa47f60.tar.bz2 rails-5af266a08a9167d8a9eea86eb6b85a66afa47f60.zip |
Merge pull request #115 from ruggeri/master
Remove non sequitur NOTE on :include [ci skip]
Diffstat (limited to 'guides')
-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: |