Most Rails APIs ignore HTTP caching entirely, missing out on massive performance gains. Learn practical caching strategies that can reduce server load by 90%.
Stop wasting time optimizing code that doesn't matter. Learn how to use the Pareto Principle and profiling tools to find the 20% of your Rails code causing 80% of performance...
Master production deployment strategies, monitoring, performance optimization, and failure handling for Rails applications using PostgreSQL read replicas.
Deep dive into handling replication lag, implementing automatic connection switching, and solving real-world challenges with read replicas in Rails applications.
Learn when and why to use read replicas in Rails applications, understand the architecture, and implement basic read/write splitting with real-world examples.
PostgreSQL 17 introduces RETURNING support to the MERGE statement, solving a long-standing limitation that forced developers to choose between atomic upserts and knowing what actually happened to their data.
Rails 7.2 introduced `with_connection` for better database connection management. Learn why you should use it instead of the traditional `connection` method.
Rails 7.1 adds a limit of 62 bytes on auto-generated index names. There is also a bonus deep dive at the end.
Are you using target='_blank' in your links? If you are, you should be using rel='noopener noreferrer' with it.
ActiveRecord::Relation#pretty_print is a method that pretty prints an ActiveRecord::Relation object.
Subscribe to receive updates on Ruby, Rails, and building scalable backend systems.