Rails scope vs named_scope
-
27-10-2019 - |
Pergunta
Is there any difference between scope and named_scope?
Solução
scope
is used in Rails 3 >, named_scope
was used in previous versions
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow