Immediately after performing the instruction outlined in page 86 of
“Agile Web development with Rails” i.e., replacing the dynamic scaffold
with a static scaffold, the “edit” [product] and “new product”
cabability of the application stopped working. I went back and
repeated all the steps from the beginning and the same thing happened
again. Am I the only one with this problem?
George, Did you ever get this figured out? I’m having exactly the same
problem on Mac OS X 10.4. I can’t seem to find anyone else with the
I’m so new to Rails, and Ruby for that matter, I’m not sure why what I
did worked… but to solve this problem, if you look in “new.rhtml” the
code that is generated has a “form_tag :action =>…” Not seeing any
references to “form_tag” in the documentation, I changed this to
“form_for :product, action =>…” this seemed to work. No idea why.