I am going through the Agile Web D. with Rails book and
following the creation of depot app.
On page 77 in the second edition i run the ruby script/generate scaffold
product admin command.
After the auto generated files are created. When i test the interface i
the Edit, New Product and Destroy link does not work.
When i click on the New Product link i do not see a form where i can
enter the information for the new products.
When i click on the Edit link i do not see the form in the edit mode.
When i click on the Delete the javascript pop up ask me to say ok or
cancel, when i clik the ok nothing happens. The product does not get
removed.
I am unable to see any error message either.
Any ideas as to what i am doing wrong?
Hi, you’ll need to take a look at the development.log located in the
log’s directory. Please provide post the relevant details here.
-Conrad
Hi, when you attempt to these actions within the browser, did run the
following command within the root of your rails app:
script/server webrick
or
script/server
-Conrad
Actually rebooting the server fixed the problem.
Cheers
Hari
Hari Venkata wrote:
I am going through the Agile Web D. with Rails book and
following the creation of depot app.
On page 77 in the second edition i run the ruby script/generate scaffold
product admin command.
After the auto generated files are created. When i test the interface i
the Edit, New Product and Destroy link does not work.
When i click on the New Product link i do not see a form where i can
enter the information for the new products.
When i click on the Edit link i do not see the form in the edit mode.
When i click on the Delete the javascript pop up ask me to say ok or
cancel, when i clik the ok nothing happens. The product does not get
removed.
I am unable to see any error message either.
Any ideas as to what i am doing wrong?