Solving N 1 Postgres queries for Ruby on Rails apps
28-Apr-2023 802
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 #Solving #Postgres #queries #Rails https://rubyonrails.ba/link/solving-n-1-postgres-queries-for-ruby-on-rails-apps