Hi,
I am trying to render a has as a json format from my controller to a
json template with respond_with(@user).
But the json view renders it a messy.
- “message” : “{:user_id=>“10803”,
:action_name=>“new”, :date=>“18-12-2015”,
:type=>”*
*GEN", :version=>“400”}", *In my console I am
getting the hash output as @user=
- {:user_id=>“10803”, :action_name=>“new”, :date=>“18-12-2015”,
:type=>“GEN”, :version=>“400”} *How can I output in the json template as
in the console format.