Tire search and will_paginate - undefined method `offset'
问题 After headaches with ThinkingSphinx and Solr/Sunspot, we're trying out ElasticSearch and Tire as our search back-end - but I've hit a problem. Here's my search command in the controller: @results = Item.search params[:search], :page => ( params[:page] || 1 ), :per_page => 20 And this is the problem section of the view: <%= page_entries_info @results %> The error message I'm getting is undefined method `offset' for #<Tire::Results::Collection:0xa3f01b0> but only when there is more than one