wbsurfver-/E1597aS9LQAvxtiuMwx3w@public.gmane.org
2009-Jan-09 16:26 UTC
is activeresource really slow for find with :conditions ?
I have a DRb process on another machine that communicates with the server. It seems like if I do a find() where I specify a :condition through Act-res it will take very long time and most finds of this sort seem like they may send over all of the records in XML. What I ended up doing for know is have the server send over all the id''s of the records I need so I can just do a regular find by id. I had also had some problems with record relationships belongs_to and so on, so I just send over the child record ids as well for now. I had tried to find documentation on that, but had some problems with that and other things and haven''t gone back to that as it was unclear what the routing was supposed to be etc .. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---