Optimize Database Performance in Ruby on Rails and ActiveRecord (appsignal.com)
In Rails, we're more likely to use SQL databases than other frameworks.