Tag: ruby on rails
-
Preview file using send_file
Serving access-controlled uploads in Rails with send_file, what :disposition decides, and where CarrierWave's secure-upload setup fits. -
db/seeds for carrierwave
Writing db/seeds for a CarrierWave attachment, for one file and for several, with the sqlite string-column caveat.