My form submits with a column called stream_type, which can either be "full", "30secs" or "90secs".
How can i set it so that it sets has_attached_file according to the form value stream_type?
My form submits with a column called stream_type, which can either be "full", "30secs" or "90secs".
How can i set it so that it sets has_attached_file according to the form value stream_type?
I am using Paperclip by the way
anyone?