README.md in nazrin-2.1.2 vs README.md in nazrin-2.2.0

- old
+ new

@@ -2,11 +2,11 @@ [![Gem Version](https://badge.fury.io/rb/nazrin.svg)](https://badge.fury.io/rb/nazrin) [![Build Status](https://travis-ci.org/tsuwatch/nazrin.svg?branch=master)](https://travis-ci.org/tsuwatch/nazrin) [![Coverage Status](https://coveralls.io/repos/tsuwatch/nazrin/badge.svg?branch=readme&service=github)](https://coveralls.io/github/tsuwatch/nazrin?branch=readme) [![Code Climate](https://codeclimate.com/github/tsuwatch/nazrin/badges/gpa.svg)](https://codeclimate.com/github/tsuwatch/nazrin) -Nazrin is a Ruby wrapper for Amazon CloudSearch (aws-sdk), with optional ActiveRecord support for easy integration with your Rails application. +Nazrin is a Ruby wrapper for Amazon CloudSearch (aws-sdk), with ActiveRecord, Mongoid support for easy integration with your Rails application. >*Nazrin has the ability of the extent which find what you're looking for...* ## Installation @@ -42,11 +42,11 @@ end ``` ```ruby class Post < ActiveRecord::Base - include Nazrin::ActiveRecord::Searchable + include Nazrin::Searchable searchable do fields [:content] field(:created_at) { created_at.utc.iso8601 } end @@ -64,9 +64,10 @@ ### Supported pagination libraries If you want to use other supported pagination libraries, for example, `nazrin-kaminari` generates `Kaminari::PaginatableArray` instead of `Nazrin::PaginatedArray`. ```ruby +gem 'nazrin' gem 'nazrin-kaminari' ``` Currently supported libraries