Commit Graph

12 Commits

Author SHA1 Message Date
Akira Matsuda 0b6564df27 avoid "`&' interpreted as argument prefix" warning 2012-02-14 19:25:24 +09:00
Akira Matsuda 0ffe09de68 let the paginator loop through only "relevant" pages by default 2011-12-11 23:12:55 +09:00
Akira Matsuda a54c3ce466 Merge branch 'master' of https://github.com/cbeer/kaminari into cbeer-master 2011-12-11 22:11:48 +09:00
Uchio Kondo 1da155b15b make it to work well with Sinatra/Padrino, thanks to #161 & #174 2011-11-21 20:15:06 +09:00
Chris Beer ab8a45047e address issue #137 by adding #each_relevant_page, an iterator that only visits pages in the inner or outer windows, and Kaminari::Helpers::Paginator::Windows (should be renamed) that does the heavy lifting 2011-07-27 10:35:38 -04:00
Akira Matsuda af3e172ae1 cut off full path requires
https://twitter.com/#!/joshkalderimis/status/78481204705361920
2011-06-09 00:37:26 +09:00
Akira Matsuda cc914952ea use ActionView::Context API
though this API actually does nothing ATM
2011-05-04 00:16:40 +09:00
Akira Matsuda 2dd06266db fixes #97 _paginate.html.erb isn't rendered with custom theme 2011-04-25 16:20:07 +09:00
Akira Matsuda 36d07200c9 refs #91 avoid "super called outside of method" error on particular versions of Ruby 1.8.7
actually this seems like a Ruby's bug, but anyway I should better not use super inside a block
http://www.datatravels.com/technotes/2010/02/24/ruby-187-patchlevel-inconsistency-super-called-out/
http://redmine.ruby-lang.org/issues/show/2537
2011-04-25 15:53:43 +09:00
Akira Matsuda 4c73ad56db refs #41 helper options are configurable now!
configurable values are: window, outer_window, left, right
2011-04-21 16:45:08 +09:00
Akira Matsuda f23655cc24 each_page returns Enumerator unless block_given 2011-04-18 01:40:38 +09:00
Akira Matsuda 20a9a8cac5 rename 2011-02-28 01:10:15 +09:00
Renamed from lib/kaminari/helpers/helpers.rb (Browse further)