Worked around that issue by using :offset, :limit in find call...

Just in case anybody else is running into this issue.


On 29 Sep., 09:07, "[email protected]"
<[email protected]> wrote:
> Hi,
>
> Oracle Database using ActiveRecord 2.3.3 is throwing an exception when
> performing a find call.
> OvaSchedule.find(:all, :include => [:ova_program])
>
> The root cause seems to be the following:
> in file: association_preload.rb method "in_or_equals_for_ids" is
> generating a sql IN condition.
> However, in my case there are more than 1000 ids and Oracle does nt
> like that.
>
> Does anybody have an idea how I might fix that?
>
> Thanks a lot in advance.
>
> --
> Volker
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to