Posts (Page 2)
Strategies for name spacing Active Job queues & class names.
Invalid factories are the worst. Here is a script I normally drop into my rails projects to help spot them.
Fix that pesky "Serving static assets with an efficient cache policy" PageSpeed suggestion.
My tests were feeling very slow in Heroku CI, I got a 2x speedup by changing one line of code.
I like to work offline, this documents my current setup & how I'm using puma-dev to make it effortless.
Bootstrap fires events via jQuery, which doesn't play to nicely with Stimulus. Here is how to make them play nicely.
How to provide real-time updates to a user in Rails 6, without having to reload the page.
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.