All Versions
51
Latest Version
Avg Release Cycle
129 days
Latest Release
512 days ago

Changelog History
Page 4

  • v0.9.13 Changes

    • ➕ Added Mongoid support #5 [@juno, @hibariya]

    This means, Kaminari is now ORM agnostic ☇3☇3☇3

  • v0.9.12 Changes

    • 🚚 Moved the whole pagination logic to the paginator partial so that users can touch it

    Note: You need to update your _paginator.html.* if you've already customized it. If you haven't overridden _paginator.html.* files, then probably there're nothing you have to do. See this commit for the example: https://github.com/amatsuda/kaminari_themes/commit/2dfb41c

  • v0.9.10 Changes

    • the per() method accepts String, zero and minus value now #7 [@koic]

    This enables you to do something like this:

        Model.page(params[:page]).per(params[:per])
    
  • v0.9.9 Changes

    • :params option for the helper [@yomukaku_memo]

    You can override each link's url_for option by this option

      = paginate @users, :params => {:controller => 'users', :action => 'index2'}
    
    • ♻️ refactor tags
  • v0.9.8 Changes

    • I18n for the partials :previous, :next, and :truncate are externalized to the I18n resource.
  • v0.9.7 Changes

  • v0.9.6 Changes

    • 0️⃣ added paginates_per method for setting default per_page value for each model in a declarative way
      class Article < ActiveRecord::Base
        paginates_per 10
      end
    
  • v0.9.5 Changes

    • works on AR 3.0.0 and 3.0.1 now #4 [@danillos]
  • v0.9.4 Changes

    • introduced module based tags

    As a side effect of this internal change, I have to confess that this version brings you a slight backward incompatibility on template API. If you're using custom templates, be sure to update your existing templates. To catch up the new API, you need to update %w[next_url prev_url page_url] local variables to simple 'url' like this. https://github.com/amatsuda/kaminari/commit/da88729

  • v0.9.3 Changes

    • 👌 improved template detection logic

    When a template for a tag could not be found in the app/views/kaminari/ directory, it searches the tag's ancestor template files before falling back to engine's default template. This may help keeping your custom templates DRY.

    • simplified bundled template themes