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

2019-03-28 Thread Rob Zolkos
scope :ending, -> { limit(4) } On Thu, Mar 28, 2019 at 4:52 AM fugee ohu 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"

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

2019-03-28 Thread fugee ohu
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