if i want to write a query select * from a,b where a.b_id=b.id in active record
using joins,condition how can i write that
in docs i found for conditions you do by giving “?” and then the parameter eg. a.b_id=?
but it takes b.id as string i.e a.b_id=‘b.id’
i dont want that
thanks in advance