Speed up your tests, a nice SQL trick, and a Jest global that you might not know about.
Inserting 100,000,000 rows into the database, how Turbo can break OAuth forms, and more!
Learn how to authorize requests at the routing layer to improve security and ergonomics.
The conferences we’re excited about in the new year.
Can we deploy a Rails monolith with audience-based scaling without breaking it up?
Are you updating code and not seeing changes? Try this to figure out what’s wrong.
Learn how to strike a balance between flexibility and data integrity with a partial index and validations.
A look at the Postgres array type and good old join tables, each with their advantages and disadvantages.
Re-use collection query logic within model instances to avoid duplication and get the best performance.
Running a separate query to count how many records are associated with another record is inefficient. Using a counter cache can save the day!