Weekly bookmarks - Issue #35
What is ActiveRecord becomes from Rails
Have you heard about the ActiveRecord becomes method from Rails? Maybe it’ll come handy one day.
Server-Side Request Forgery in Rails
What is Server-Side Request Forgery (SSRF), and why is it a concern for web security?
How Litestream Eliminated My Database Server for $0.03/month
I've always hated maintaining database servers. Litestream offers a simple alternative without sacrificing reliability or security.
Writing better Action Mailers: Revisiting a core Rails concept
Mailers are used in literally every Rails application, but often an after thought where we throw out the rules of...
Rails 7: ActiveStorage::Streaming improves file streaming
Once we include ActiveStorage::Streaming in a controller, we get access to the #send_blob_stream method which takes care of everything, from...
JSONB PostgreSQL: How To Store & Index JSON Data
In this post, we are going to show you tips and techniques on how to effectively store and index JSON...
We unveil the toolbox of the Martian Rails engineer; we begin constructing a Gemfile from the universe of Martian gems...
Refactoring instance variables to local variables in Rails controllers
An example of refactoring a controller to use local variable and shorthand hash syntax
Rails 7.1 will include a Dockerfile to help ease production deployments
Top Front-End Tools Of 2022 — Smashing Magazine
Useful front-end tools for CSS and JavaScript developers that were most popular last year and will help you speed up...
How to Use Lambdas in Ruby | Scout APM Blog
Lambdas are a powerful feature of the Ruby language. Learn all about Lambdas and how best to leverage them in...