Skip to content

Commit

Permalink
Forward count arguments on Relation for Rails 4.1 compat
Browse files Browse the repository at this point in the history
Fixes #382, closes #303
  • Loading branch information
mislav committed Jun 28, 2014
1 parent 3666d72 commit b6a726c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/will_paginate/active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def count(*args)
rel = rel.apply_finder_options(@wp_count_options) if defined? @wp_count_options
rel.count(*args)
else
super
super(*args)
end
end

Expand Down

0 comments on commit b6a726c

Please sign in to comment.