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:
parent
c8e6a5bf2a
commit
5aefc4643c
1 changed files with 8 additions and 2 deletions
10
README.md
10
README.md
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue