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

18 commits

Author SHA1 Message Date
Akira Matsuda
d89ba6b3d3 escape_javascript is a helper method 2012-05-23 12:33:56 +09:00
Akira Matsuda
e94cc24c2a always create User with a name 2012-05-23 12:33:56 +09:00
Akira Matsuda
e67057eed3 Merge branch 'master' of https://github.com/joe1chen/kaminari into joe1chen-master
Conflicts:
	spec/helpers/action_view_extension_spec.rb
2012-05-15 22:40:50 +09:00
Paulo Henrique Lopes Ribeiro
6df7869cbd Changed the way page_entries_info behave so it can show appropriate names for models with namespace 2012-02-19 13:57:59 -02:00
Akira Matsuda
118927a42e Merge branch 'patch-1' of https://github.com/timgremore/kaminari into timgremore-patch-1 2012-02-19 21:03:22 +09:00
Akira Matsuda
2ed15e3276 avoid "ambiguous first argument; put parentheses or even spaces" warning 2012-02-14 19:26:04 +09:00
Joseph Chen
8879c161c2 Add helper to generate rel="next" and rel="prev" link tags for SEO. See http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html 2012-02-01 17:49:10 -08:00
Tim Gremore
9acdf8df03 added spec for link_to_previous_page actionview helper 2011-12-29 13:13:20 -06:00
Akira Matsuda
c2b6815559 Merge branch 'master' of https://github.com/jeffreyiacono/kaminari into jeffreyiacono-master
Conflicts:
	spec/helpers/action_view_extension_spec.rb
2011-12-17 17:29:45 +09:00
Akira Matsuda
f2664f0086 Merge pull request #177 from webmat/override_rel
Let one override the rel= attribute
2011-12-10 10:02:10 -08:00
Akira Matsuda
f22df5816b it is not required to require by full path. Let's trust the LOAD_PATH 2011-12-11 01:15:18 +09:00
Uchio Kondo
9dec2ad6d0 rename sinatra_helpers, add bacis tests 2011-11-22 13:29:45 +09:00
Mathieu Martin
bbf2cc1cf7 Let one override the rel= attribute 2011-11-04 15:09:02 -04:00
Jeff Iacono
be33ca6516 page_entries_info view helper
Renders a helpful message with numbers of displayed vs. total entries.
Ported from mislav/will_paginate

Basic usage:
  <%= page_entries_info @posts %>
  # => Displaying posts 6 - 10 of 26 in total
2011-07-23 04:24:49 -05:00
Akira Matsuda
c96d77f5d8 a simple "Twitter like" pagination link that creates a link to the next page
via http://stackoverflow.com/questions/5734597/rails-3-more-ajax-pagination-with-kaminari
2011-05-05 23:41:17 +09:00
Akira Matsuda
686b1b46c0 use helper instead of polluting Object 2011-05-05 23:28:41 +09:00
Akira Matsuda
9d0eebe38e format 2011-05-04 00:19:51 +09:00
Luiz Felipe
80cb34df46 added test and changed paginate method to return a string 2011-04-26 09:56:36 -03:00