We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我厌倦了在 arel 树中阅读测试和代码,所以我放了一些 幻灯片一起。他们涵盖了 v2.x,我什至还没看过 v3。
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.
几周前我写了一篇关于 Arel 的文章 (Arel(Ruby 的 SQL 管理器)的权威指南)。它遍历整个库并解释内部如何工作以及如何从自己的应用程序中使用它。
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.
我认为这会很有用:
https://github.com/brynary/arel
还有一个有趣的 asciicast:
http://asciicasts.com/episodes/215-advanced-queries-in-rails-3
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 测试套件可能会有一些用处:
https://github.com /rails/arel/blob/master/test/test_select_manager.rb
Yeah, I'm having a real hard time finding doc too. The Arel test suite might be of some use:
https://github.com/rails/arel/blob/master/test/test_select_manager.rb
完整的文档在这里: http://rubydoc.info/github/rails/arel/master/ Arel 在模块中查找具体方法。
Complete documentation is here: http://rubydoc.info/github/rails/arel/master/Arel Look in the modules for specific methods.