I am using remotipart plugin to do the Ajax image upload. Recently I upgraded the Rails version from 3.1.10 to 3.2.13. After upgrading rails version I found that ajax image upload is not working.
I have form which submits the image using remotipart plugin and renders the response.But after rails upgrade I am not able to render the response. While investigating the issue I found that response is wrapped with textarea block and thus not getting rendered.
I referred some of the related stackoverflow questions as well as issues reported on github by remotipart users but not able to figure out any resolution for this issue.
viz: ajax post request responds with an html element when including an attachment with paperclip
Trouble with Paperclip and Ajax with Rails 3.2.8
https://github.com/JangoSteve/remotipart/issues/89
Would anyone please suggest how I can resolve this issue or what I am doing wrong?
Thanks and Regards,