Solving N 1 Postgres queries for Ruby on Rails apps

Crunchy Data is getting ready to be at RailsConf 2023 in Atlanta next week and we’ve been thinking about our Rails and ActiveRecord users and customers. One of the easiest ways to improve query performance using an ORM is to lean on as much SQL as you can. I’m going to walk through some of the ActiveRecord basics and how to use some smart SQL to work around N 1 query problems.
Solving N 1 Postgres queries for Ruby on Rails apps #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/solving-n-1-postgres-queries-for-ruby-on-rails-apps

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles