![]() |
1
6
向lambda传递参数?
另请参见“动态范围构建”这里: http://archives.edgerails.info/articles/what-s-new-in-edge-rails/2010/02/23/the-skinny-on-scopes-formerly-named-scope/index.html |
![]() |
2
3
我需要一个“默认”操作。我添加了“joins(:profile)”。也许有更好的方法,但这是可行的。
|