I have got edge rails (as of 03 October) and tried to get a new app I
am building to use the new Restful approach. Followed the examples in
Agile Web D. (2nd Ed) and issued a “scaffold_resource” command
for my model.
However when I attempt to create a new record, and click “create”, it
just goes back to the index view for the model. What might I be doing
- Created table via migrations (all worked well, table created ok.
- Issued the command "ruby script/generate scaffold_resource
- Put the line in the routes.rb file, “map.resources :”.
Then tried to run it and found the problem where it wont add anything.
Thanks for any help,