Skip to content
Advertisement

Tag: activerecord

rails scope and joins

I have tried everything i thought would work for this and am turning up nothing. in rails 3, I need to find all users with a cd player in their car. A car has one user and one radio, and a user belongs to a car, and a radio has many cars. I am stumbling on how I would perform

Advertisement