Forum: Ruby on Rails (undefined method `belongs_to' for ListItem:Class [NoMethodE

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D51a24ae1017f53158d70b621494255d?d=identicon&s=25 Bontina Chen (abon)
on 2007-01-19 16:31
(Received via mailing list)

I'm implementing the example in the agile web development with rails.
In the Order line_item Product relationship setting.
I got the error while include "belongs to :product" in line_item.rb

And I found

about a patch that fix the problem

ANyone knows if there is anyway to fix it without this old patch?

This topic is locked and can not be replied to.