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!
How do you manage queries when your Rails application isn’t the only thing reading your database?
You’ve heard it from us, Ruby is back at the biggest European conference on free and open source software.
Great news! The consultant developer your team hired will be onboarded next week. Now what? Check out this guide for onboarding consultants for the first time.
Recent thoughtbot open source updates (November 3, 2023).
Learn all about the first weeks of the thoughtbot Startup Incubator with Knect — from user research to market experiments and insights from the founder himself.
Learn how to create a custom color control in Storybook
Did you know that you can align text in Markdown tables? Or that you can use the
repeat command in zsh to run a command multiple times? Read on to learn more!