On Feb 23, 8:47 am, Butterson <[email protected]> wrote: > Hello all. I'm new to RoR. I am having trouble trying to get a simple > edit/update going. Everytime I hit submit, I get the following error: > +++++++++++++++++++++ > Couldn't find Content without an ID > > Request > Parameters: > {"format"=>"#<content:0x4d3daac>", > "commit"=>"Update", > "_method"=>"put", > "authenticity_token"=>"axBSuIWVTMRB2CKcmMO59tqtOlMtXRSXQQ7xeHEMd78=", > "content"=>{"title"=>"About Us", > "verbiage"=>"The company was formed in 2008 by seven healthcare > professionals involved in the areas of acute care hospital, > rehab hospital, > skilled nursing and rehab, > out-patient clinics, > and Home Health Care. Update"}} > > +++++++++++++++++++++++++++++
Yup, there's no id param there, and the format value is messed up for some reason. Even though your code looks fine to me at first glance. What does your routes.rb file look like? Jeff -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

