Changelog History
Page 3
-
v0.12.4 Changes
๐ Support for
config.param_name
as lambda #102 [@ajrkerr]Stop duplicating
order_values
#65 [@zettabyte]Preserve select value (e.g. "distinct") when counting #77, #104 [@tbeauvais, @beatlevic]
-
v0.12.3 Changes
- ๐ Haml 3.1 Support #96 [@FlyboyArt, @sonic921]
-
v0.12.2 Changes
โ Added MongoMapper Support #101 [@hamin]
Add
first_page?
andlast_page?
topage_scope_methods
#51 [@holinnn]๐ Make sure that the paginate helper always returns a String #99 [@Draiken]
๐ Don't remove includes scopes from count if they are needed #100 [@flop]
-
v0.12.1 Changes
๐ Slim template support #93 [@detrain]
0๏ธโฃ Use Kaminari.config to specify default value for
param_name
#94 [@avsej]๐ Fixed "super called outside of method" error happened in particular versions of Ruby 1.8.7 #91 [@Skulli]
_paginate.html.erb
isn't rendered with custom theme #97 [@danlunde]
-
v0.12.0 Changes
- ๐ง General configuration options #41 #62 [@javierv, @iain]
You can now globally override some default values such as
default_per_page
,window
, etc. via configuration file. Also, here comes a generator command that generates the default configuration file into your app's config/initilizers directory.- ๐ Generic pagination support for Array object #47 #68 #74 [@lda, @ened, @jianlin]
You can now paginate through any kind of Arrayish object in this way:
Kaminari.paginate_array(my_array_object).page(params[:page]).per(10)
๐ Fixed a serious performance regression on #count method in 0.11.0 [@ankane]
๐ Bugfix: Pass the real @params to
url_for
#90 [@utkarshkukreti]๐ Fixed a gem packaging problem (circular dependency)
There was a packaging problem with Kaminari 0.11.0 that the gem depends on Kaminari gem. Maybe Jeweler + "gemspec" method didn't work well...
-
v0.11.0 Changes
๐ This release contains several backward incompatibilities on template API. You probably need to update your existing templates if you're already using your own custom theme.
Merge
_current_page
,_first_page_link
,_last_page_link
and_page_link
into one_page
partial #28 [@GarthSnyder]โ Add real first/last page links, and use them by default instead of outer window #30 [@GarthSnyder]
The disabled items should simply not be emitted, even as an empty span #30 [@GarthSnyder]
Skip :order in
#count_all
so complex groups with generated columns don't blow up in SQL-land #61 [@keeran, @Empact]๐ Ignore :include in
#count_all
to make it work better with polymorphic eager loading #80 [@njakobsen]Quick fix on
#count
to return the actual number of records on AR 3.0 #45 #50โ Removed "TERRIBLE HORRIBLE NO GOOD VERY BAD HACK" #82 [@janx, @flop, @pda]
๐ Allow for Multiple Themes #64 [@tmilewski]
Themes can contain the whole application directory structure now
๐ Use
gemspec
method in Gemfile [@p_elliott]
-
v0.10.4 Changes
Do not break ActiveRecord::Base.descendants, by making sure to call super from ActiveRecord::Base.inherited #34 [@rolftimmermans]
๐ Fixed vanishing mongoid criteria after calling
page()
#26 [@tyok]
-
v0.10.3 Changes
๐ Fixed a bug that
total_count()
didn't work when chained withgroup()
scope #21 [@jgeiger]๐ Fixed a bug that the paginate helper didn't work properly with an Ajax call #23 [@hjuskewycz]
-
v0.10.2 Changes
- โ Added
:param_name
option to the pagination helper #10 [@ivanvr]
= paginate @users, :param_name => :pagina
- โ Added
-
v0.10.1 Changes
- ๐ Fixed a bug that the whole
<nav>
section was not rendered in some cases [@GarthSnyder]
- ๐ Fixed a bug that the whole