carrierwave
https://github.com/carrierwaveuploader/carrierwave
Ruby
Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks
CarrierWave::Mount#uploader_option
Return a particular option for a particular uploader === Parameters [column (Symbol)] The column the uploader is mounted at [option (Symbol)] The option, e.g. validate_integrity === Returns [Object] The option value
Edit
git clone [email protected]:carrierwaveuploader/carrierwave.git
cd carrierwave
open lib/carrierwave/mount.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-CarrierWave--Mount-uploader_option-for-pr
# Commit to gitgit add lib/carrierwave/mount.rbgit commit -m "better docs for CarrierWave::Mount#uploader_option"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-CarrierWave--Mount-uploader_option-for-pr
hub pull-request
# Celebrate!