Hi I have been trying to fetch the output as an hash but it is returning string.I am storing the data
in the following format. --- :input_type: - text_field - ride_from :label: Ride From :input_type: - text_field - ride_from :label: Ride From - :input_type: - select_tag - trip_frequency - <option>Single Trip</option><option>Daily Trip</ option><option>Once Weekly</option><option>Frequently</option> :label: Trip Frequency I am trying to use "send" to convert to html tags like : <%...@suby.form_field.each do |form_field| -%> <div class="registration-user-fields"> <div class="registration-field-text"> <%=form_field[:label]-%>: </div> <div class="registration-field-value"> <%=send(form_field[:input_type][0], "attributes[#{form_field[:input_type][1]}]", form_field[:input_type] [2],:class=>"reg-input-box")-%> </div> </div> In the model i have specified serialize the table field name "form_field" it is working well in other table but returning as string in this table help please. Regards Prashanth -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.