News for hackers. Stuff that matters.
Re:The Troublesome Active Record Pattern by zrail on Thursday March 19, 2020 @06:45AM (#22626245)
Rails' ActiveRecord is both a query builder and also the canonical Active Record pattern. For example, one can say

  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.
Re:The Troublesome Active Record Pattern by mnutt on Thursday March 19, 2020 @09:55AM (#22627505)
Not to detract from your point, but rails 3 was released with arel in 2010, so it has used a relational query builder for a decade at this point.
Re:The Troublesome Active Record Pattern by zrail on Thursday March 19, 2020 @11:17AM (#22628265)
Thanks, I wasn't super clear on the timeline there.