Rails scope vs named_scope
-
27-10-2019 - |
题
Is there any difference between scope and named_scope?
解决方案
scope
is used in Rails 3 >, named_scope
was used in previous versions
不隶属于 StackOverflow
题
Is there any difference between scope and named_scope?
解决方案
scope
is used in Rails 3 >, named_scope
was used in previous versions