Vojtech Salbaba

Results 2 comments of Vojtech Salbaba

Should be {:conditions => ["first_models.id IN (SELECT first_model_id FROM the_join_table WHERE #{matches})", *ids]} the resulting SQL was ... WHERE secon_model_id = ? OR second_model_id = ?)) will be ... WHERE...

Hi, the code on top would not show the initial revision. My shot for complete history - http://gist.github.com/347049