作用域和named_scope之间是否有区别?Rails作用域vs named_scope
来源
2011-03-17 methyl
scope用于Rails 3>中,named_scope用于以前的版本
scope
named_scope
2011-03-17 17:53:48