[Locomotive-users] Problem with :belongs_to relation

Stephen Waits steve at waits.net
Mon Feb 26 16:29:17 GMT 2007


On Feb 26, 2007, at 7:37 AM, Samuel Linde wrote:

> I've set up two models, Customer and Booking, with a has_many -  
> belongs_to relationship.
> I have a list view for my BookingsController which shows the  
> customer's name for each booking record,
> via booking.customer.name.

Hi Samuel,

I'm certain we can help.  Can you please explain your schema and the  
Customer/Booking relationship in a little bit more detail?

Thanks,
Steve


More information about the Locomotive-users mailing list