I have the following:
class User < ActiveRecord::Base
has_one :car, :class_name => \'Car\', :foreign_key => \'user_id\'
class Car < ActiveRecord::
Change the definition of the relationship slightly:
class User < ActiveRecord::Base
has_one :car
class Car < ActiveRecord::Base
belongs_to :worker, :class_name => 'User', :foreign_key => 'user_id'
And you'll establish what you're looking for. See: http://guides.rubyonrails.org/association_basics.html#the-has-one-association