Rails scope vs named_scope
-
27-10-2019 - |
Question
Is there any difference between scope and named_scope?
Solution
scope
is used in Rails 3 >, named_scope
was used in previous versions
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow