amatsuda/kaminari — pull request #449 by bricker (2013-10-18 07:09:42+00:00)
Title: Arity on #count with rails 4.1.0

rails/rails@4ce643dbb5bd37e1f4662b37abc80a18078feba1 removed the `options` argument from its ActiveRecord `count` methods. This patch checks the arity of that methods before calling it.