News for hackers. Stuff that matters.
Re:Arel merge, rails' hidden gem by xentronium on Monday July 09, 2012 @11:20AM (#4218573)
> when the ORM could just allow you to use relational concepts directly

There is a database toolkit in ruby-land that allows you do just that! It's called Sequel.

I've built an example, which I deliberately kept as bare-bones and explicit as possible: https://gist.github.com/1aa977a63b7d6a727497

You can also build something similar on top of ARel which backs ActiveRecord.

Re:Arel merge, rails' hidden gem by sirn on Monday July 09, 2012 @01:29PM (#4219227)
Actually Sequel (and ARel) is more like SQLAlchemy's SQL Expression Language[1] than the SQLAlchemy ORM itself.

[1]: http://docs.sqlalchemy.org/en/latest/core/tutorial.html