Included `has_one` relationships as relationships that get generated.

Small change just to also check if the association macro is `has_one` as well as `belongs_to`; as the `has_one` relationships were raising errors.