Unused method parameter
but keeping the method signature compatible... or can we just remove this??
This commit is contained in:
parent
5397801570
commit
6a7ac50084
|
@ -9,7 +9,7 @@ module Kaminari
|
|||
super
|
||||
end
|
||||
|
||||
def total_count(column_name = :all, options = nil) #:nodoc:
|
||||
def total_count(column_name = :all, _options = nil) #:nodoc:
|
||||
# #count overrides the #select which could include generated columns referenced in #order, so skip #order here, where it's irrelevant to the result anyway
|
||||
@total_count ||= begin
|
||||
c = except(:offset, :limit, :order)
|
||||
|
|
Loading…
Reference in New Issue