zable 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/zable/active_record.rb +2 -1
  2. metadata +1 -1
@@ -1,8 +1,9 @@
1
+ require 'will_paginate'
1
2
  module Zable
2
3
  module ActiveRecord
3
4
 
4
5
  module ClassMethods
5
- PAGE_DEFAULTS = { 'num' => 1, 'size' => 2 }
6
+ PAGE_DEFAULTS = { 'num' => 1, 'size' => 200 }
6
7
 
7
8
  def scoped_for_sort(params, scoped_object)
8
9
  hash = (params[:sort] || {}).stringify_keys
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: