Rails 6.1: Horizontal Sharding, Multi-DB Improvements, Strict Loading, Destroy Associations in Background, Error Objects, and more!
Rails 6.1 Released — The newest Rails train has just pulled into the station! If your app needs the flexibility of per-database connection switching or horizontal sharding, this is a compelling update. We also get strict loading associations (stop N+1s in their tracks), delegated Active Record types (as a rather nicer alternative to STI), and performance improvements all round. Here’s a table showing if you’re ready to upgrade apps on various versions of Rails to the new version.