Rails: Add image upload to existing form -


i have existing entry scaffold. i'd add image upload existing model/controller/view without hassle--and i'd add ajax after working.

that said, i'm pretty new rails.

  1. i s there simple, ajax-compatable gem help?
  2. how implement it? (step-by-step, because i'm pretty slow learn)

ruby on rails ajax file upload

http://khamsouk.souvanlasy.com/articles/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent

look step 6. using iframes , responds_to_parent in article. note uses attachment_fu handling file uploads. idea same both paperclip & carrierwave


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -