1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00

Update README

Add Gemfile instructions for using the 'rails-4' branch.
This commit is contained in:
jonatack 2013-07-02 11:27:14 +02:00
parent c8e6a5bf2a
commit 5aefc4643c

View file

@ -17,15 +17,21 @@ for Ransack (or MetaSearch, for that matter). Try
In your Gemfile:
```ruby
gem "ransack" # Last officially released gem
gem "ransack" # Last officially released gem (Rails 3)
```
Or if you want to use the bleeding edge:
Or if you want to use the bleeding edge (Rails 3):
```ruby
gem "ransack", :git => "git://github.com/ernie/ransack.git" # Track git repo
```
For Rails 4, specify the 'rails-4' branch:
```ruby
gem 'ransack', :github => 'ernie/ransack', :branch => 'rails-4'
```
## Usage
Ransack can be used in one of two modes, simple or advanced.