Paperclip plugin


Is it possible to have a file uploader in my form using the paperclip
plugin that doesn’t correspond to a model attribute? For example, I
want to be able to upload a file for a model but name it using the
model’s id - then when I retrieve the file, I’ll just use the id to
get the file’s path. This way, I avoid having to save that name in
the database table.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs