Artem Voroztsov
2008-Mar-05 09:55 UTC
Ensuring using database indexes in find-methods with hash-conditions
Please give me links If sbj is described anywhere or was already discussed. Whether index is used or not depends on order of conditions in WHERE statement (it was surprise for me; I use mysql). When one uses hash as conditions he can''t control this order. How does rails solve this problem? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---