From 8f24923d7ad3c838437fba2ee3e5eee655660bbc Mon Sep 17 00:00:00 2001 From: hupfis Date: Tue, 26 Sep 2017 13:28:46 +0200 Subject: Fix typo in 'find_in_batches' example --- guides/source/active_record_querying.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') 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 ``` -- cgit v1.2.3