Posts (Page 4)
Rails ActiveStorage is a great way of saving files, but you can also store blobs of text.
Compiling my test assets before running specs saved a few seconds.
Lookup objects from a string of text, way better then passing ID references around.
Rails supporting JSON field type is a great, but can screw you right over.
Rails 6 has new queues for ActiveStorage & ActionMailbox.
Rails 6 ships with Action Mailbox, here is how I added tests for RSpec
Rails ships with a bunch ISO date formats (and a few localised ones), here is how to use them
Naming is tricky, here is how I do it.
Rails log files growing to massive sizes? Limit them!
The AWS S3 CORS configuration to allow Direct Upload for ActiveStorage.