Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Arel merge, rails' hidden gem. Parent comment
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.
[1]: http://docs.sqlalchemy.org/en/latest/core/tutorial.html
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.