My requirement is to maintain historical data, so basically each
update creates a new record rather than updating the current record.
In order to do this, I fetch the the latest record in the "edit"
action and when the form is submitted I am trying to
redirect_to :action => "create" in the update action.
But for some reason instead it gets redirected to the index action
instead. When I debug, I can see that the form gets submitted to the
"udpate" action but after the redirect_to line, instead of going into
the create action it tries to find some default_renderer..
redirect_to :action => "create"
Am I doing this right?