| Article: |
Rolling with Ruby on Rails | |
| Subject: | Update not working | |
| Date: | 2006-03-08 13:40:45 | |
| From: | curth | |
|
Response to: Update not working
|
||
|
If you are running on Windows, you could try using Instant Rails (http://instantrails.rubyforge.org/). It contains the cookbook app as a preinstalled sample application, which should just work out-of-the-box.
|
||
Showing messages 1 through 2 of 2.



it to the case of the "name" attribute on the
input tags in edit.rhtml.
That is, I finally made it work by changing
recipe[category_id] to Recipe[category_id].
I gather that the posted "name" attribute
is used as the model name, which is capitalized
in the command "ruby script\generate model Recipe"
Just reporting empirical results!