-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
Constant Loading is already suppressed (RuntimeError) #3708
Comments
Please provide full stack trace, and the content of |
@mshibuya suer, here is the full stack trace
and content of config/initializers/rails_admin.rb
|
I had the same error message, and found out my initializer was the problem. Try to put |
@mshibuya @petrachi Actually it's working normally now and the solution was to move all custom actions that were in a separate files into the |
Describe the bug
When running my application after updating from 2.2.1 to 3.3.0 it throws Constant Loading is already suppressed (RuntimeError). It happens in development, production and test environments.
Reproduction steps
update to 3.3.0
Expected behavior
No errors
Additional context
rails
version: 7.1.0rails_admin
version: 3.3.0rails_admin
npm package version: 10.8.3It worked only when I changed this line
raise 'Constant Loading is already suppressed' if @original_const_missing
inside the file /rails_admin-3.3.0/lib/rails_admin/config/const_load_suppressor.rbto
return if @original_const_missing
The text was updated successfully, but these errors were encountered: