On Thu, Mar 5, 2009 at 18:57, Brian Durand <[email protected]>wrote:

>
> Created patch which allows find_batches to use :order, :limit,
> and :offset for better control over batch processing.


See my reply on the main thread about why giving such options might not be a
good idea.

Anyway, the will_paginate plugin provides the `paginated_each` class method
on models which lets you iterate with :order and :per_page parameters.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to