I tried everything that I thought would work for this, and do not raise anything.
in rails 3, I need to find all users with a CD player in my car. A car has one user and one radio, and the user belongs to the car, and the radio has many cars.
I am stumbling over how to perform this search using a scope in a user model.
class User
belongs_to :car
class Car
belongs_to radio
has_one :user, :dependent => destroy
class Radio
has_many :cars
user308096
source
share