I am trying to save data from a dynamic form where the response saved can be either an array, or a string.
Using serialize in my model or using ':question_answer => []' in my permit tries to set every entry as an array. I need this to dynamically allow saving either as a string or an array to the MySQL DB.
Any help would be appreciated.