I installed ActiveAdmin successfully:
My gemfile code:
source \'https://rubygems.org\'
gem \'rails\', \'3.2.10\'
# Bundle edge Rails instead:
Active Admin need kaminari pagination If you want to use will paginate, you can make alias for will paginate functions to match kaminari one:
# config/initializers/will_paginate.rb
if defined?(WillPaginate)
module WillPaginate
module ActiveRecord
module RelationMethods
alias_method :per, :per_page
alias_method :num_pages, :total_pages
end
end
end
end
module ActiveRecord
class Relation
alias_method :total_count, :count
end
end
And this one worked for me.