MacBook Air2020 Ruby2.7.1 Rails6.0.3.4 MySQL
It seems that the plural definition of the reserve model automatically becomes reserf It was discovered by an error message.
NameError (uninitialized constant User::Reserf):
I was able to solve it by defining the plural as follows.
config/initializers/inflections.rb
ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.irregular "reserve", "reserves"
end