karmi/tire — Issue #214: How do you import in a Persistent model?
Author: redCashion
Created: 2012-01-23 21:36:10+00:00
State: open

If I have a simple class like:

class Article
include Tire::Model::Persistence

property :title, :analyzer => 'snowball'
property :published_on, :type => 'date'
property :tags, :default => [], :analyzer => 'keyword'

end
It seems that I can only perform Article.import if there is a pagination method. But because this is a custom persistent model and I'm not using ActiveRecord, I am not able to use WillPaginate or Kaminari. So is there a custom method I can create to support pagination, and if so what requirements must it meet?