hashid-rails
hashid-rails copied to clipboard
Error: `uninitialized constant Hashid` when using Rails from `main` branch.
Failure/Error: include Hashid::Rails
NameError:
uninitialized constant Hashid
include Hashid::Rails
^^^^^^^^
Did you mean? Hashids
This only happens when using rails
from main
branch.
gem "rails", github: "rails/rails", branch: "main"
gem "activestorage", github: "rails/rails", branch: "main"
gem "hashid-rails", "~> 1.4", ">= 1.4.1"