Mark Reginald James wrote:
If you use MySQL, the "field" function allows you
to retrieve records in a specific id order:
Rails Wheels - Find Plugins, List & Sell Plugins -
Ah, now that is a great tip, i'd not seen this before! Thanks a lot.
The weird thing is, i've gone to my console to try it out, and rails is
now always giving me the resources back in the order of the id array
anyway, whether i use the field option or not. It's the same with any
of my AR classes! I'm sure that this didn't used to happen though...i
think i'm going crazy. Can anyone tell me if this is normal? If so
then i just imagined this whole problem...
or do you get