# File lib/action_controller/pagination.rb, line 235 def page_count return 1 if @item_count.zero? (@item_count / @items_per_page.to_f).ceil end