Awesome pull request !

In line `inner_tags.safe_concat tag(:input, type: "hidden", name: name, value: value)`, `value:value` should be `value:value.to_param` instead. Otherwise when value is an ActiveRecord (or any fancy object), it prints a wrong value.