ので、config/initializers/rails_ext.rb などに以下を追加。
module WillPaginate module Finder module ClassMethods def wp_parse_options_with_normalize_page(options) page, per_page, total = wp_parse_options_without_normalize_page(options) page = 1 if page.to_i.zero? [page, per_page, total] end alias_method_chain :wp_parse_options, :normalize_page end end end