I need help with a strange "bug". I have a model with a "description" column that is text, and I have set up tinmyce-rails to show the fields as a :text_editor field. What's happening is that each time a partial is loaded the first time in the browser window, it has a tinymce editor. But, if I show that partial again, it is no longer an editor. For example, If I go to the page and press "Create" to create a record, the new form has a tinymce editor. I close the form (with or without saving), press "Create" again, and the ui is no longer tinymce. The same occurs if I edit any record... the first time the record comes up, it's the tinymce editor, subsequent times, no editor just a textarea.
What's interesting is that if I refresh the browser window, everything resets, and we are back to the 1st time for each again... each works the first time and fails subsequent times. Thus, I'm thinking it has something to do with the partials being cached in some way where the tinymce javascript isn't re-processing them again.
I'm running this in Rails 3.2.6, Twitter bootstrap, Active Scaffold 3.2.14
Any ideas?
Thanks,
Russell