kaminari--kaminari/lib/kaminari/models
Yuki Nishijima 8c0b9d5d1a Define page method when a AR class is defined
Commit 92052eedf0 looked good at the beginning. However, that causes a bug that kaminari's page_method_name config has no effect since the pagination method will be defined when `lib/kaminari/models/active_record_model_extension.rb` is loaded.

Define that 'page' method when an AR class is actually defined so we will be able to change the name of the method properly. Fixes #481
2013-12-02 05:21:49 +09:00
..
active_record_extension.rb fixes #165 avoid overwriting AR::Base inherited method 2011-12-12 07:24:26 +09:00
active_record_model_extension.rb Define page method when a AR class is defined 2013-12-02 05:21:49 +09:00
active_record_relation_methods.rb AR 3.0: call the original count method if :distinct option was given 2013-11-10 08:15:35 +09:00
array_extension.rb Fix a bug that PaginatableArray#total_pages returns the wrong value 2013-07-02 22:20:53 +09:00
configuration_methods.rb Reduce Ruby ⚠️s 2013-04-23 22:43:05 +09:00
data_mapper_collection_methods.rb refactor page_entries_info not to use buggy `current_page_count` method 2012-05-15 22:19:24 +09:00
data_mapper_extension.rb Add tests for configuration methods 2013-11-19 10:34:48 +09:00
mongo_mapper_extension.rb refs #57, #162 let the pagination method name (defaulted to `page`) configurable 2011-12-17 16:33:06 +09:00
mongoid_criteria_methods.rb refactor page_entries_info not to use buggy `current_page_count` method 2012-05-15 22:19:24 +09:00
mongoid_extension.rb refs #57, #162 let the pagination method name (defaulted to `page`) configurable 2011-12-17 16:33:06 +09:00
page_scope_methods.rb Revert "Merge pull request #304 from bricker88/nil_for_per" 2013-06-18 22:30:05 +09:00
plucky_criteria_methods.rb Add tests for configuration methods 2013-11-19 10:34:48 +09:00