Jean Nibee wrote:
Is there any way (Using my Model clases) to be able to do a sort of
Ex: select a, b, c from table_a where a not in (SELECT aa from table_b
I really hope I don't have to select all the models from each table and
us 'each' on ModelA list and 'find' on the ModelB list.
I"m still learning, but as I use this I find more and more.. CRUD =
ActiveRecord, anything else hit the DB directly.
Yes, just have :conditions => 'a not in (SELECT aa from table_b)'