I have been trying to create a small Rails application. In one of
the steps, I am facing this error as "NoMethodError in
ContactController#update ...... undefined method `stringify_keys!'
Let me give a brief description of the application. This application
is to Create, View and Update contacts. The problem came when updating
The "Update" action in controller file looks like this,
@contact = Contact.new(params[:id])
@contact.attributes = params[:contact]
redirect_to :action => "index"
Below is the complete error stack,