In outgoing email messages, include images as inline attachments instead of as external images for privacy, resilience, and security.
Code written with reduce
can be intimidating. This 2-step approach can help.
We’ve built props_template, a faster Jbuilder that supports layouts, digging, and more!.
Let’s find out by following a step-by-step approach to address the accessibility requirements of auto-playing videos.
Learn how to authorize requests at the routing layer to improve security and ergonomics.
We’ve built Superglue, a framework that makes Rails and React as productive as Rails, Hotwire, Turbo, and Stimulus.
Learn how to strike a balance between flexibility and data integrity with a partial index and validations.
Need to do some HTML sanitization, but Rails ActionView Sanitize Helpers are not good enough? Read this post to learn how to do it with Loofah.
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!