Is there a way to make ActiveRecord write 'WHERE (a,b) in ((1,2),(3,4))' using AR finders.
I would think
Widget.find(:all, :conditions => ['(a,b) in (?)', [[1,2][3,4]]])
but the inner arrays get converted to YAML?!?! Right now I'm using find_by_sql. Is there a better way to write this?