Tutorials

Dynamic image resizing with Ruby and Serverless framework
If you’ve grappled with resizing images for various page layouts and devices, you know the pain of accounting for all different types of screens, the scaling problem that serving the full-size original image presents, and the fact that large image...

Using strftime in a Rails view is probably a mistake
The strftime method appears in many languages, all the way back to C. The syntax of the (mostly impenetrable) formatting arguments haven’t changed that much in years and they’re remarkably consistent across languages.Ruby’s version is comprehensiv...







Containerizing Rails: Techniques, Pitfalls, and Best Practices (RailsConf 2018)
On April 18, 2018, I spoke on "Containerizing Rails: Techniques, Pitfalls, and Best Practices" at RailsConf in Pittsburgh, PA. The talk discussed best practices for designing Docker containers for Rails applications.Talk resourcesVideo on Confreak...