Tag: archive
-
Rubocop - Ruby static code analyzer
Setting up RuboCop on a Rails project: which of the three shipped configs to start from, and the rules worth disabling. -
Concurrency vs parallelism
Rob Pike's distinction — dealing with many things at once against doing many at once — and the gopher example that makes it stick. -
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.