I'm using ActiveAdmin (https://github.com/gregbell/active_admin) for Rails, and am trying to load the index view of my User model. Here's the code in my app/admin/users.rb file:
ActiveAdmin.register User do
config.per_page = 10
index :pagination_total => false do
end
end
I have pagination enabled, but it looks like it's still trying to load all of the users, resulting in a timeout. How do I get it to load only a few (e.g. 10) users at a time?