I have 2 models, one is called User and the second Preferences. There is an association between both:
User.hasOne(Preferences)
Assuming user is a