Topic: Issue with Input Token component and model validation
I am new to this forum. I am struggling with Input Token component and model validation.
I have a company model which can have many tags. It works fine, but in one occasion it does not work. The occasion is when company model validation fails. After :render => 'edit' it does not show tags in the view. I suspect the data-pre is not taking the data correctly. I would also like for tags to be preserved when solving validations.
I got this idea from here: http://railscasts.com/episodes/167-more attributes
I use Input token control: http://loopj.com/jquery-tokeninput/