Basically, I'm trying to follow step-by-step the Rails' official guides
process for what concerns the nested routing.
So, I have Newspapers that has_many :ads , and :ads belongs to
:newspaper .
What I did was simply trying to obtain an URL like this:
The route barf should have said :id=>"1" (or at least some number). I
think you're somehow passing it a whole ad, rather than an ad ID.
Otherwise we wouldn't have the other column in there, like product and
the timestamps. The big question is, what did you do to create this
error? Did you point a browser at the URL shown above (presumably
after telling it to use port 3000)? Or some other, in which case what
was it? Or was it an automated test, in which case "post teh codez
pls"?
If it was via a different URL, then we'll probably need to look at
that URL's controller and maybe view.