On Tue, Jan 26, 2010 at 12:41 AM, Ryan Pusztai <rpusz...@gmail.com> wrote: >>> self:find_all_by_vehicle_type_and_oem{ "BMW 5 Series", "BMW" } > Well I thought about this further and even if I could generate the "active > recod" type of finds. I would not be able to do the REGEXP and NOT REGEXP > and !=, would I?
This seems to be the case - the Active Record style is appropriate for simple generic operations. Obviously anything that uses something database-specific is not going to work, not without unnatural extensions. Then we are better off with explicit queries, and give up any pretense at database-agnostic code. steve d. _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/