I am using paperclip to handle my file uploads, and in one situation I don\'t want the file to be mandatory. I do however want to make sure it is a specific file type when i
First let me say that I am new to both ruby and rails. Secondly, I don't know if this can be applied to audio files but with images I just set up a default image so that one way or another there is a photo associated with each record.
has_attached_file :photo, styles: { small: "64x64", med: "100x100", large: "200x200" }, default_url: "/images/no-image-available.png"