Skip to content

Commit

Permalink
Fix typo and prompt to install ~> 5.5.0 (#1023)
Browse files Browse the repository at this point in the history
The README had a couple of typos and was also suggesting to install a
version that was not the current version.
dchacke authored Jan 19, 2024

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent 0500b48 commit 40b899a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 40b899a

Please sign in to comment.