Sha256: 2dff2721ac5a5af8757b88f6660f24c7c16abd42320402fab183d1eb34b3039b
Contents?: true
Size: 406 Bytes
Versions: 12
Compression:
Stored size: 406 Bytes
Contents
module Kaminari module PluckyCriteriaMethods include Kaminari::PageScopeMethods delegate :default_per_page, :max_per_page, :max_pages, :to => :model def entry_name model.model_name.human.downcase end def limit_value #:nodoc: options[:limit] end def offset_value #:nodoc: options[:skip] end def total_count #:nodoc: count end end end
Version data entries
12 entries across 12 versions & 6 rubygems