Fixed the "per" error in rails admin by removing will-paginate.