1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
Commit graph

13 commits

Author SHA1 Message Date
Keiko Oda
7af1e87db4 Change default value of max_per_page from 0 to nil 2012-08-28 00:54:45 -07:00
Keiko Oda
c77867681e Add max_per_page configuration option 2012-08-27 22:15:19 -07:00
Akira Matsuda
8ca1a41740 keep compatibility with previous versions for now 2012-05-25 15:32:49 +09:00
Akira Matsuda
e79935c2d5 num_pages => total_pages 2012-05-25 15:31:53 +09:00
Akira Matsuda
27a4e6076b fixes #180 avoid the unnecessary "yo dawg, I heard you like include, so I put a module that includes your module when it is included" approach when building extensions
using InstanceMethods is deprecated since 401393b656
2011-12-12 00:14:52 +09:00
Akira Matsuda
e79bad5b46 rename Relation#shift to padding
bacause this method name was turned out to be stubbing out Array#shift
2011-12-02 23:54:34 +09:00
Akira Matsuda
abe9cdc334 rename Relation#skip to shift
bacause this method name overlaps with MongoDB's skip() function
2011-08-21 08:38:41 +09:00
Aaron Jensen
5575beb2ee Adding skip method to skip an arbitrary record count
Can be used in conjunction with page and per to offset by an
amount less than the page size.
2011-08-18 01:57:03 +09:00
Akira Matsuda
fe5df577f3 whitespace 2011-04-25 17:14:28 +09:00
Aurélien AMILIN
81b508d80a fix last_page? 2011-04-25 17:14:09 +09:00
Aurélien AMILIN
b61d5a6568 last_page? and first_page? added 2011-04-25 17:11:02 +09:00
Akira Matsuda
b81bdcb024 a bit more meaningful method name 2011-02-21 03:58:35 +09:00
Akira Matsuda
60a91a9667 digging a directory and moving files into it makes me feel like being Lode Runner... 2011-02-21 03:23:14 +09:00
Renamed from lib/kaminari/page_scope_methods.rb (Browse further)