Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find good AREL documentation? [closed]

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)

like image 842
Zabba Avatar asked Apr 16 '11 17:04

Zabba


3 Answers

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.

like image 141
Philip C Avatar answered Nov 16 '22 03:11

Philip C


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.

like image 34
Jiří Pospíšil Avatar answered Nov 16 '22 01:11

Jiří Pospíšil


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

like image 5
Spyros Avatar answered Nov 16 '22 03:11

Spyros