I'm trying to learn as much as I can about AREL. But I'm not sure what to look at.
I found some documentation on rubydoc, but it doesn't seem very good in terms of showing what are the "public API"/accessible things I can do. For example, I could not find any information on the "includes" method.
So, how exactly to learn most of what AREL has to offer? (i.e. without delving into the source code)
I got tired of reading tests and code, in the arel tree, so I put some slides together. They cover v2.x, I haven't even looked at v3 yet.
I wrote an article about Arel a few weeks ago (The definitive guide to Arel, the SQL manager for Ruby). It walks through the whole library and explains how things work internally and how you can use it from your own application.
I think that this will be useful :
https://github.com/brynary/arel
And an interesting asciicast :
http://asciicasts.com/episodes/215-advanced-queries-in-rails-3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With