An article dedicated to why Rail's Active Record library isn't actually using the Active Record pattern would be interesting!
book = Books.joins(:authors).where(author_name: 'James S. A. Corey').first
book.title = "Tiamat's Wrath"
book.save!
It's not that they stopped supporting the Active Record pattern, it's that they rebuilt the whole thing a few years ago with a real relational query builder under the hood.https://lobste.rs/s/valayp/troublesome_active_record_pattern...