'has_one' and 'belongs_to' working