From 40b899a547624a50dbe44c5f337ef393e04a9152 Mon Sep 17 00:00:00 2001 From: Dennis Hackethal Date: Thu, 18 Jan 2024 18:28:50 -0700 Subject: [PATCH] Fix typo and prompt to install ~> 5.5.0 (#1023) The README had a couple of typos and was also suggesting to install a version that was not the current version. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5ed9f9ab..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+. @@ -108,8 +108,8 @@ User.find_each(&:save) ### `:allow_nil` -You can pass `allow_nil: true` to the `friendly.find()` method if you're want to -avoid raising `ActiveRecord::RecordNotFound` and accept a `nil`. +You can pass `allow_nil: true` to the `friendly.find()` method if you want to +avoid raising `ActiveRecord::RecordNotFound` and accept `nil`. #### Example