S
S
Sergey Kazakov2015-06-05 20:05:13
Ruby on Rails
Sergey Kazakov, 2015-06-05 20:05:13

How to save an image in paperclip by passing it the url to an image from another site?

How to set up paperclip and model to pass not a file through a form but an image url ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Kononenko, 2015-06-05
@walovari

current_user.picture = URI.parse(url)

V
Viktor Vsk, 2015-06-05
@viktorvsk

lmgtfy.com/?q=paperclip+remote+url

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question