Is it a good practice to write XML as string in the database:Rails [closed]

Modgik

New Member
I want to store some user-input structured data(say, answers to a questionnaire) as XML and write it into the database. Ruby on rails does not allow a column of type File and I am therefore thinking of storing this XML as a string using Nokogiri. Is this a good practice? Please explain your answer good giving reasons for or against storing XML as a string.
 
Back
Top