I have an Hash @answers = params[:Answers].to_hash;
<%= debug @answers %> outs
---
"1": "2"
"7": "3"
"6": "4"
"4": "0"
Need to make the @answers to one like below
@ans = {1 => 2, 7 => 3, 6 => 4, 4 => 0}
<%= debug @answers %> outs
---
1: 2
7: 3
6: 4
4: 0
pnoputsdebug, in a Rails view, formats its argument into yaml.