If, for example, you order by 'Name', and then while batch processing you
insert a new record with the name "Angilly", it is possible (probable
actually) that your batch processing will miss records.  ID's are not very
likely to change, and the auto-incrementing means it's much more difficult
to miss records.  This is also the reason that it requires integer ID's (and
not UUIDs).

Cheers,
Ryan

On Thu, Mar 5, 2009 at 8:27 AM, blj <[email protected]> wrote:

>
> May be I am missing something obvious, but I do not understand why the
> method find_in_batches cannot take the option[:order].
>
> I have created a ticket http://is.gd/lUwX with a patch to remove the
> error raised accordingly.
>
> Thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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