I installed ActiveAdmin successfully:
My gemfile code:
source \'https://rubygems.org\'
gem \'rails\', \'3.2.10\'
# Bundle edge Rails instead:
The above answers do not work anymore. An updated answer was given here by @zitoon:
if defined?(WillPaginate)
module WillPaginate
module ActiveRecord
module RelationMethods
def per(value = nil) per_page(value) end
def total_count() count end
end
end
module CollectionMethods
alias_method :num_pages, :total_pages
end
end
end
I tried it myself. Works.