Changeset [4557845df677f7cede52774ce8a645d7ce604814] by Mislav Marohnić

June 21st, 2013 @ 05:47 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/4557845df677f7cede52...

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!