Ruby on Rails Thursday, March 28, 2019

scope :ending, -> { limit(4) }

On Thu, Mar 28, 2019 at 4:52 AM fugee ohu <fugee279@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-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@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.

--
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-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJ6MPz%2BWeTm3PXWMmG9QSGT6xbsBV-uatc2%2BasJx5qk2T-3L6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment