karmi/tire — Issue #266: kaminari pagination
Author: kapkaev
Created: 2012-03-07 17:43:59+00:00
State: open

rails 3.2
tire 0.3.12
kaminari 0.13.0

```ruby
def self.search(params)
options = {:page => (params[:page]||1), :per_page=> (params[:per_page] || 3), load: params[:load]}
tire.search(options) do
```
when i pagination execure i have error

```ruby
ActiveRecord::RecordNotFound (Couldn't find all Items with IDs (17, 6, 13, false) (found 3 results, but was looking for 4)):
```

in console

```ruby
Item.tire.search("item", :page => 1, :per_page => 3)
```

in response of Tire::Results::Collection

```ruby
@options={:page=>1, :per_page=>3, :size=>3, :from=>0}
```