Skip to content

Commit 80ab948

Browse files
committed
Update README re Rails versions & Ransack branches
[skip ci]
1 parent b62660a commit 80ab948

File tree

1 file changed

+9
-30
lines changed

1 file changed

+9
-30
lines changed

README.md

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,46 +26,25 @@ instead.
2626

2727
## Getting started
2828

29-
Because ActiveRecord has been evolving quite a bit, your friendly Ransack is
30-
available in several flavors! Take your pick:
31-
32-
In your Gemfile, for the last officially released gem compatible with Rails
33-
3.x, 4.0 and 4.1 (for Rails 4.2, use the dedicated `rails-4.2` branch described
34-
below for now):
29+
In your Gemfile, for the last officially released gem for Rails 3 and 4:
3530

3631
```ruby
3732
gem 'ransack'
3833
```
3934

40-
Or if you want to use the latest updates on the Ransack master branch:
35+
Or if you want to use the latest updates (including Rails 4.2 compatibility):
4136

4237
```ruby
4338
gem 'ransack', github: 'activerecord-hackery/ransack'
4439
```
4540

46-
If you are using Rails 4.1, you may prefer the dedicated [Rails 4.1 branch]
47-
(https://github.com/activerecord-hackery/ransack/tree/rails-4.1) which
48-
usually contains the latest updates on master (albeit sometimes with some
49-
delay), supports only 4.1, and is lighter and somewhat faster:
50-
51-
```ruby
52-
gem 'ransack', github: 'activerecord-hackery/ransack', branch: 'rails-4.1'
53-
```
54-
55-
Similarly, if you are using Rails 4.0, you may prefer the dedicated
56-
[Rails 4 branch](https://github.com/activerecord-hackery/ransack/tree/rails-4)
57-
for the same reasons:
58-
59-
```ruby
60-
gem 'ransack', github: 'activerecord-hackery/ransack', branch: 'rails-4'
61-
```
62-
63-
Last but definitely not least, an experimental [Rails 4.2 branch]
64-
(https://github.com/activerecord-hackery/ransack/tree/rails-4.2) is available:
65-
66-
```ruby
67-
gem 'ransack', github: 'activerecord-hackery/ransack', branch: 'rails-4.2'
68-
```
41+
The other branches (`rails-4`, `rails-4.1`, and `rails-4.2`) were each used for
42+
running Ransack with the latest upcoming version of Rails at the time. They are
43+
lighter and somewhat faster-running because they do not have to support previous
44+
versions of Rails and Active Record. However, once support for that version of
45+
Rails is merged into Ransack master, the branches are no longer actively
46+
maintained with the latest fixes and additions to Ransack -- unless the
47+
community submits pull requests to maintain them, and you are welcome to do so!
6948

7049
## Usage
7150

0 commit comments

Comments
 (0)