在哪里可以找到好的AREL文件? [英] Where can I find good AREL documentation?

查看:174
本文介绍了在哪里可以找到好的AREL文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尽可能多地学习AREL。但我不知道该怎么看。



我发现了一些关于rubydoc的文档,但是在显示什么是公共API/可访问的东西我可以做的似乎不是很好。例如,我找不到任何关于包含方法的信息。



那么,究竟如何学习AREL所提供的大部分内容呢? (即不深入源代码)

解决方案

我认为这将是有用的:



https://github.com/brynary/arel



和一个有趣的asciicast:



http://asciicasts.com/episodes/215-advanced-queries-in-rails-3


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 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

这篇关于在哪里可以找到好的AREL文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆