amatsuda/kaminari — pull request #589 by mizoR (2014-08-10 00:30:12+00:00)
Title: Enable lazy evaluation of `paginate`'s options

Fixes https://github.com/amatsuda/kaminari/issues/545

By lazy evaluating the expression for defaults, and allows to skip the call to the `scope` methods. I was referring to the https://github.com/amatsuda/kaminari/issues/545#issuecomment-40663427 for this fix.