From MySQL database I got params in this format. Now I am unable to access this data. I have taken this value in variable.
Code: @text =
--- !map:HashWithIndifferentAccess
q5_areaOf:
- Mathematics
- Commerce
q7_residenceCity: Indore
q6_email: james@yahoo.com
action: patient_forms_save
controller: form_assigned_patients
q8_password: "123456"
q3_name: Rahul
formID: "12772743492"
q4_sex: Male
Now I want to display the whole data on rhtml page.