intridea.com

Pretty much everyone who claims to have a REST API, in fact, does not. The closest I’ve found is...

Just assign the existing attachment to another record: new_photo = Photo.new new_photo.image = old_photo.image Paperclip will duplicate the file when saving...

This is more tricky than it should be because url_for, asset_path, etc. all rely on different mechanisms.