Rails 3 app with paperclip.
Given a Paperclip File Model, how can you move that paperclip File to different paperclip, say image gallery? Which would have different processing rules etc?
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve just tried the following:
Given two models, with a
pictureattachment and their own Paperclip configurations, say: Gallery1 and Gallery2.Given I had one object in Gallery1 with a picture already attached.
Make:
And it creates the picture properly resized with the constraints of Gallery2.