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
I think there should be a way to set the default_per_page nicer than now. The constant DEFAULT_PER_PAGE can be set, but in a Rails application, there is no way to set it before the gem loads, so you're always overriding it, resulting in a warning.
The text was updated successfully, but these errors were encountered:
This was done in these commits amatsuda/kaminari@7473663...91d6628 and included in the newest 0.12.0 gem.
Can you bundle '>= 0.12.0' gem and try the following steps?
generate the configuration file
% rails g kaminari:config
edit "default_per_page" value in config/initializers/kaminari_config.rb
I think there should be a way to set the default_per_page nicer than now. The constant DEFAULT_PER_PAGE can be set, but in a Rails application, there is no way to set it before the gem loads, so you're always overriding it, resulting in a warning.
The text was updated successfully, but these errors were encountered: