Hacker News new | ask | show | jobs
by yxhuvud 4415 days ago
4: Generating queries that are composable with other queries.
1 comments

If you really must have this, you can get it already with Relation#merge. If you're just referring to using one query as a subquery in another, this is available in ActiveRecord directly without needing to drop to Arel. In fact, unless you're meaning something very different than what I am interpreting, there's nothing Arel's buying you over ActiveRecord::Relation in this regard.