Posts (Page 2)
So many options?! But which is the best all round for hosting & ease of deployment?
Knowing the exact time you queued up a background job is handy, here is how to get it in Ruby on Rails ActiveJob.
Make AJAX calls using Rails.ajax by including UJS into your Stimulus controller files.
I18n is a great way to quickly translate your app, but it's also a great way to tidy up your code.
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.