I'm having major trouble with a somewhat self-referencing has_many and
belongs_to set of models.
item.manufacturer correctly returns an object of type Vendor. However,
item.manufacturer.name raises an exception even though the name value
is set correctly.
I've been debugging and googling and responding to stack overflow
peeps but still to no avail.
Complete details here:
thanks in advance.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.