search for: edit_successful

Displaying 1 result from an estimated 1 matches for "edit_successful".

2006 Feb 14
1
Error handling
Hi, I''m stuck right now with a problem concerning error handling. I''ll try to explain the problem in short: In a controller class I have a method edit: def edit @some_class = SomeClass.find(params[:id]) end The record originates from a database table. What happens if the user enters a field that fails validation and I return to my edit page? I get the idea that th