看到一篇关于rails中是否还继续推荐使用scope的文章
http://www.railway.at/2010/03/09/named-scopes-are-dead/
另一个讨论
Named Scopes Are Dead
http://www.rubyflow.com/items/3566
其中在arel上有一个bug反馈
arel methods in scope cause issues with non-existent tables
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4142-arel-methods-in-scope-cause-issues-with-non-existent-tables
其它:
What’s going to be deprecated in Rails 3.1 ?
http://m.onkey.org/active-record-query-interface
Named scope with has many
http://www.ruby-forum.com/topic/310404