diff --git a/README.md b/README.md index bd2df4c..9a97904 100644 --- a/README.md +++ b/README.md @@ -20,25 +20,30 @@ 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. @@ -46,7 +51,7 @@ To use default_value_for with older versions of Ruby and Rails, you must use the 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: