has_one relationships don’t have id only getters or setters. For example engineer.laptop_id or engineer.laptop_id= are not implemented in Rails 5. Is there any reason for this?
class Engineer < ActiveRecord::Base
engineer = Engineer.first
engineer.team_id # works
engineer.laptop_id # doesnt work (Not implemented)
engineer.task_ids # work
Same issue with setters too.