We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey @huacnlee - I'm upgrading an app (slowly) to Rails 7, and in Rails 6.1.6.1, I'm getting the following error
/Users/cweilemann/Projects/app/config/environments/production.rb:99:in `block in <top (required)>': uninitialized constant Setting (NameError) Did you mean? String
This didn't happen in Rails 5. I'm using the zeitwork gem. I checked the Rails Guide for Autoloading and Reloading Constants but that didn't help. Any suggestions?
zeitwork
The text was updated successfully, but these errors were encountered:
@cweilemann The answer is here: https://github.com/huacnlee/rails-settings-cached#readonly-field
# You must require_relative directly in Rails 6.1+ in config/environments/production.rb require_relative "../../app/models/setting"
Sorry, something went wrong.
No branches or pull requests
Hey @huacnlee - I'm upgrading an app (slowly) to Rails 7, and in Rails 6.1.6.1, I'm getting the following error
This didn't happen in Rails 5. I'm using the
zeitwork
gem. I checked the Rails Guide for Autoloading and Reloading Constants but that didn't help. Any suggestions?The text was updated successfully, but these errors were encountered: