Jump to content

The ultimate community for Ruby on Rails developers.


Rails 4 - Remote upload image

  • Please log in to reply
No replies to this topic

#1 Giri



  • Members
  • 1 posts

Posted 10 March 2014 - 12:13 AM

I have a bookmark controller.

My new.html.erb file has an input field called thumbnail url

So if someone fill that field with valid image url like http://example.com/image1.jpg, then I would like to remote upload that image to my server.

Can someone tell me whats the easiest way to do this?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users