kaminari 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kaminari might be problematic. Click here for more details.
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/kaminari.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -35,13 +35,13 @@ Then bundle:
|
|
35
35
|
|
36
36
|
== Usage
|
37
37
|
|
38
|
-
* Fetch the 7th page of the users (per_page =
|
38
|
+
* Fetch the 7th page of the users (per_page = 25 by default)
|
39
39
|
|
40
40
|
@users = User.page(7)
|
41
41
|
|
42
42
|
* Show a lot more users per each page (change the per_page value)
|
43
43
|
|
44
|
-
@users = User.page(7).per(
|
44
|
+
@users = User.page(7).per(50)
|
45
45
|
|
46
46
|
* Typically, your controller code will look like this:
|
47
47
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/kaminari.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaminari
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Akira Matsuda
|