#649 ✓invalid
Kieran P

has_one does not work the same way as belongs_to

Reported by Kieran P | March 2nd, 2010 @ 12:08 AM

From what I understand, the functionality of belongs_to and has_one is very similar.

Yet Hobo doesn't treat it this way.

Consider:

belongs_to :manager

But a manager doesn't really own a job, they are part of one, so I use

has_one :manager

However, while belongs_to shows the field when making/editing the records, has_one does not show these fields :-(

Any chance of supporting this? has_one should work the same as belongs_to.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages