In my form, I use JqueryTokenInput to add tags. When I fill the form and submit, usually, if there are errors the form will load again with the values I entered. But the TokenInput field won't get those values. I tried to do it by loading data from the params like this :
In the view input field :
data: {load: @current_tags}
In the controller :
@current_tags = params[:deshana][:deshanatag_list]
This doesn't work. I think its not in the right format. How can I do this?