Complex has_one associations in Rails 4