Skip to content

Commit

Permalink
Clarify 3.5.0-4.0.0 features added and removed
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Jul 16, 2024
1 parent 1a2ac63 commit 7b4849a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,38 @@ u.last_seen # => Mon Sep 22 17:28:38 +0200 2008

## Installation

### Rails 6.1+ / Ruby 3.0+
### On Rails 6.1+ / Ruby 3.0+

The objective is to support all supported rubies and rails versions. If you need to support end of life versions, please see the sections below and use a prior release.

Version 4.0 will only support rails 6.1 and newer and ruby 3.0 and newer.
Version 4.0.0 will support rails 6.1+ and ruby 3.0+.
Version 4.0.0 will drop rubies less than 3.0 and rails less than 6.1 and add rails 7.2 on rubies 3.1 and higher.

### Rails 3.2 - 6.0 / Ruby 1.9.3 - 2.7
### On Rails 3.2 - 6.0 / Ruby 1.9.3 - 2.7

To use default_value_for with older versions of Ruby and Rails, you must use the previous stable release, 3.6.0 or others in the 3.x.y release. This version works with Rails 3.0, 3.1, and 3.2; and Ruby 1.8.7 and higher. It **does not** work with Rails 4.

default_value_for (3.x+) is compatible with Rails 3.2-6.1, and Ruby 1.9.3 and higher.

Note:
Version 3.5.0: Added basic rails 7.0 support
Version 3.6.0: Added basic rails 7.1 support

Add it to your Gemfile:

```ruby
gem "default_value_for", "~> 3.0"
```

## Rails 3.0 - 3.1 / Ruby 1.9.3 and lower
## On Rails 3.0 - 3.1 / Ruby 1.9.3 and lower

To use default_value_for with older versions of Ruby and Rails, you must use the previous stable release, 2.0.3. This version works with Rails 3.0, 3.1, and 3.2; and Ruby 1.8.7 and higher. It **does not** work with Rails 4.

```ruby
gem "default_value_for", "~> 2.0.3"
```

### Rails 2
### On Rails 2

To use default_value_for with Rails 2.x you must use an older version:

Expand Down

0 comments on commit 7b4849a

Please sign in to comment.