I’m trying to create an “Inventory” application that has two models:
I have made a “relationship” between those two models, such that:
item has_many itemdetails
Once I try to create an item or itemdetail I get a NoMethodError as
This also applies if I wnt to “show”.
The weird thing aslo is that when I get the NoMethodError page after I
add an item gets created, I find that I get a message that the item hs
been cteated succssfully.
And, attached are the files to show what I hav e did?
Any ideas on this?
Thanks a lot.