Table A has many table B’s. So the foreign key in table B is a_id. I
want to select a single record from table A that does not have any
table B’s. The problem is that the foreign key is in table B. Is
there a simple way to do this with the find method in active record?
Or do I need to select all and loop through them all and check until
I find one?
Thanks for your help.