diff options
author | hupfis <dominik.hurnaus@gmail.com> | 2017-09-26 13:28:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 13:28:46 +0200 |
commit | 8f24923d7ad3c838437fba2ee3e5eee655660bbc (patch) | |
tree | 485df7f966eaf0844e97a05da5070902b5bd5ab8 /guides | |
parent | 1bb106c0b7b918606a7e94a6abb6ade364cc4270 (diff) | |
download | rails-8f24923d7ad3c838437fba2ee3e5eee655660bbc.tar.gz rails-8f24923d7ad3c838437fba2ee3e5eee655660bbc.tar.bz2 rails-8f24923d7ad3c838437fba2ee3e5eee655660bbc.zip |
Fix typo in 'find_in_batches' example
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 678b80516f..3573c3c77b 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -414,7 +414,7 @@ end `find_in_batches` works on model classes, as seen above, and also on relations: ```ruby -Invoice.pending.find_in_batches do |invoice| +Invoice.pending.find_in_batches do |invoices| pending_invoices_export.add_invoices(invoices) end ``` |