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!
How do you manage queries when your Rails application isn’t the only thing reading your database?
Read this the next time you need to build a complicated form.