From f0554dde7ee2f36d4c6cfd4c51173a4a9fc5562d Mon Sep 17 00:00:00 2001 From: Dennis Hackethal Date: Thu, 18 Jan 2024 14:34:01 -0700 Subject: [PATCH 1/3] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5ed9f9ab..b61c6202 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ User.find_each(&:save) ### `:allow_nil` -You can pass `allow_nil: true` to the `friendly.find()` method if you're want to +You can pass `allow_nil: true` to the `friendly.find()` method if you want to avoid raising `ActiveRecord::RecordNotFound` and accept a `nil`. #### Example From cf754986da439460f5c6b554bba07d813ef8ad58 Mon Sep 17 00:00:00 2001 From: Dennis Hackethal Date: Thu, 18 Jan 2024 14:35:00 -0700 Subject: [PATCH 2/3] Fix another typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b61c6202..5bdaf7e9 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ User.find_each(&:save) ### `:allow_nil` You can pass `allow_nil: true` to the `friendly.find()` method if you want to -avoid raising `ActiveRecord::RecordNotFound` and accept a `nil`. +avoid raising `ActiveRecord::RecordNotFound` and accept `nil`. #### Example From c1a4669bde697cac1b41a0d6d0b7e2ba61d919ef Mon Sep 17 00:00:00 2001 From: Dennis Hackethal Date: Thu, 18 Jan 2024 18:21:32 -0700 Subject: [PATCH 3/3] Prompt to install more up-to-date version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bdaf7e9..6ee3f010 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ FriendlyId offers many advanced features, including: Add this line to your application's Gemfile: ```ruby -gem 'friendly_id', '~> 5.4.0' +gem 'friendly_id', '~> 5.5.0' ``` Note: You MUST use 5.0.0 or greater for Rails 4.0+.