load_more 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +2 -2
- data/lib/load_more/version.rb +1 -1
- data/lib/load_more.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47539dc513cd2fa7d7c0046ea2317aee4eeb5d0e
|
4
|
+
data.tar.gz: 95478dbdf6aadad5dde010f7b06d4249229b4c73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 165b7854d5fe4d082dd45848b44d249000ad57c0940b2f6d77e23ff04c46b040f869ebb9fc220bff9402cd1897c1504fbd61ce7bd0a1862f8176413f976d0195
|
7
|
+
data.tar.gz: 3601b69f85dcb31fb4bfff22ad7ea9c1ac9861994cfcdb6cf94c1b0c29d63f07f118f35be9ae25b48ba73db5e57b85ef9f95c27b891730215748eb17090dc2ea
|
data/README.rdoc
CHANGED
@@ -16,9 +16,9 @@ In your model:
|
|
16
16
|
The default 'per_load' value is 10.
|
17
17
|
|
18
18
|
Then you can use
|
19
|
-
>> Article.load_more(last_load:
|
19
|
+
>> Article.load_more(last_load: params[:last_load_id])
|
20
20
|
or
|
21
|
-
>> Article.last_load(
|
21
|
+
>> Article.last_load(params:[last_load_id])
|
22
22
|
|
23
23
|
You can also customize the per_load value:
|
24
24
|
>> Article.load_more(per_load: 20, last_load: 99)
|
data/lib/load_more/version.rb
CHANGED
data/lib/load_more.rb
CHANGED