Re: [Rails] update scope statement for rails 5.1.4 from rails 3.11

7 visualizações
Pular para a primeira mensagem não lida

Rob Zolkos

não lida,
28 de mar. de 2019, 09:56:5428/03/2019
para rubyonra...@googlegroups.com
scope :ending, -> { limit(4) }

On Thu, Mar 28, 2019 at 4:52 AM fugee ohu <fuge...@gmail.com> wrote:
>
> How would I correct this scope statement from my model for rails 5.1.4
> scope :ending, :limit => 4
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/91dc6590-2ad6-4b75-836e-c4a4e69701ea%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem