Skip to content

Releases: kaminari/kaminari

0.10.0

03 Dec 03:07
Compare
Choose a tag to compare
  • Railtie initializer name is "kaminari" from now
  • Changed bundler settings to work both on 1.9.2 and 1.8.7 #12 [l15n]
  • Fixed bugs encountered when running specs on Ruby 1.9.2 #12 [l15n]
  • Clean up documentation (formatting and editing) #12 [l15n]
  • Use Proc.new instead of lambda for scoped_options #13 [l15n]
  • Use AS hooks for loading AR #14 [hasimo]
  • Refactor scope definition with Concerns #15 [l15n]
  • Ensure output_buffer is always initialized #11 [kichiro]

0.9.13

03 Dec 03:08
Compare
Choose a tag to compare
  • Added Mongoid support #5 [juno, hibariya]

    This means, Kaminari is now ORM agnostic ❤️ ❤️ ❤️

0.9.12

03 Dec 03:11
Compare
Choose a tag to compare
  • 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: amatsuda/kaminari_themes@2dfb41c

0.9.10

03 Dec 03:12
Compare
Choose a tag to compare
  • 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])
  • Added support for Gem Testers (http://gem-testers.org/) #8 [joealba]

0.9.9

03 Dec 03:15
Compare
Choose a tag to compare
  • :params option for the helper [yomukaku_memo]
    You can override each link's url_for option by this option
    Example:

    = paginate @users, :params => {:controller => 'users', :action => 'index2'}
  • refactor tags

0.9.8

03 Dec 03:15
Compare
Choose a tag to compare
  • I18n for the partials

    [:previous, :next, :truncate] are externalized to the I18n resource.

0.9.7

03 Dec 03:16
Compare
Choose a tag to compare

0.9.6

03 Dec 03:17
Compare
Choose a tag to compare
  • added paginates_per method for setting default per_page value for each model in a declarative way.

    Example:

    class Article < ActiveRecord::Base
      paginates_per 10
    end

0.9.5

03 Dec 03:17
Compare
Choose a tag to compare
  • works on AR 3.0.0 and 3.0.1 now #4 [danillos]

0.9.4

03 Dec 03:19
Compare
Choose a tag to compare
  • 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: amatsuda@da88729