Method: Kaminari::ActiveRecordRelationMethods#without_count

Defined in:
lib/kaminari/activerecord/active_record_relation_methods.rb

#without_countObject

Turn this Relation to a “without count mode” Relation. Note that the “without count mode” is supposed to be performant but has a feature limitation.

Pro: paginates without casting an extra SELECT COUNT query
Con: unable to know the total number of records/pages


50
51
52
# File 'lib/kaminari/activerecord/active_record_relation_methods.rb', line 50

def without_count
  extend ::Kaminari::PaginatableWithoutCount
end