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

9 commits

Author SHA1 Message Date
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)