You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When having a grouped AR collection the collection.count(:all) in Pagy::Backend#pagy_get_vars returns an OrderedHash so that @vars[k].to_i in Pagy#initialize throws an undefined method 'to_i' for {1=>1}:Hash exception.
The text was updated successfully, but these errors were encountered:
When having a grouped AR collection the
collection.count(:all)
in Pagy::Backend#pagy_get_vars returns anOrderedHash
so that@vars[k].to_i
in Pagy#initialize throws anundefined method 'to_i' for {1=>1}:Hash
exception.The text was updated successfully, but these errors were encountered: