Module: Paginate::Finder
- Defined in:
- lib/doozer/plugins/paginate/lib/paginate/finder.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/doozer/plugins/paginate/lib/paginate/finder.rb', line 4 def self.included(base) base.extend ClassMethods class << base # alias_method_chain :method_missing, :paginate # # alias_method_chain :find_every, :paginate define_method(:per_page) { 30 } unless respond_to?(:per_page) end end |