Changeset [8a0ead99fa0ee5a044adacb9b89aaedf72f2567c] by Mislav Marohnić

September 16th, 2013 @ 05:55 PM

Rails 4 compat: port named scopes to new syntax

Subtle edge case bugs pop up in AR 4 when named scopes are declared with
the old syntax. This is likely a bug with AR, but work around it for now.
https://github.com/mislav/will_paginate/commit/8a0ead99fa0ee5a044ad...

Committed by Mislav Marohnić

  • M spec/fixtures/developer.rb
  • M spec/fixtures/reply.rb
  • M spec/fixtures/topic.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Everyone's favorite Ruby library for pagination of practically anything!