A guide for preloading associations in rails
https://bhserna.com/guide-for-preloading-associations-in-rails.html
An analysis of memory bloat in Active Record 5.2
https://samsaffron.com/archive/2018/06/01/an-analysis-of-memory-bloat-in-active-record-5-2
Avoid race conditions in Rails with Postgres locks | Leigh Halliday
https://www.leighhalliday.com/avoid-race-conditions-with-postgres-locks
Disabling transaction block during migration | Red Panthers
https://redpanthers.co/disabling-transaction-block-during-migration/
How (and When) to Use Single Table Inheritance in Rails - eugenius
https://eewang.github.io/blog/2013/03/12/how-and-when-to-use-single-table-inheritance-in-rails/
How to Safely Use ActiveRecord’s after_save | by Mona Gupta | Flexport Engineering
https://flexport.engineering/how-to-safely-use-activerecords-after-save-efde2b52baa3
Implementing the null object pattern on an ActiveRecord association. This is really a special case being represented with an object which acts like a null object. · GitHub
https://gist.github.com/stevenharman/5b6c4bbf4b8c83daba77
Postgres tips for Rails developers
https://www.citusdata.com/blog/2017/04/28/postgres-tips-for-rails/
Rails insert_all and upsert_all
https://www.johnnunemaker.com/rails-insert_all-and-upsert_all/
Rails single table inheritance with polymorphic association | Archon Developer Blog
http://www.archonsystems.com/devblog/2011/12/20/rails-single-table-inheritance-with-polymorphic-association/
Safely Remove a Column from an Active Record Model - Andy Croll
https://andycroll.com/ruby/safely-remove-a-column-field-from-active-record/
Single Table Inheritance in Rails - Code - Alex Reisner
http://www.alexreisner.com/code/single-table-inheritance-in-rails
Single Table Inheritance using Rails 5.02 - Dave Corderman - Medium
https://medium.com/@dcordz/single-table-inheritance-using-rails-5-02-6738bdd5101a
Some things you should know about eager loading in ActiveRecord | Florin Lipan
https://lipanski.com/posts/activerecord-eager-loading
Speed up your Rails app with upsert_all
https://blog.testdouble.com/posts/2020-04-09-speed-up-your-rails-app-with-upsert_all/
Using Temporary Tables in PostgreSQL with Rails
https://blog.honeybadger.io/using-temporary-tables-in-postgresql-with-rails/
https://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html
https://api.rubyonrails.org/classes/ActiveRecord/Locking/Pessimistic.html