-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Load error with active_support 7 #2205
Comments
Annih
added a commit
to Annih/grape
that referenced
this issue
Dec 20, 2021
It seems to be the recommended way with active_support >= 7.0. See https://guides.rubyonrails.org/active_support_core_extensions.html#cherry-picking-a-definition Fix ruby-grape#2205.
Annih
added a commit
to Annih/grape
that referenced
this issue
Dec 20, 2021
It seems to be the recommended way with active_support >= 7.0. See https://guides.rubyonrails.org/active_support_core_extensions.html#cherry-picking-a-definition Fix ruby-grape#2205. Signed-off-by: Baptiste Courtois <[email protected]>
dm1try
pushed a commit
to Annih/grape
that referenced
this issue
Dec 21, 2021
It seems to be the recommended way with active_support. See https://guides.rubyonrails.org/active_support_core_extensions.html#cherry-picking-a-definition Fix ruby-grape#2205. Signed-off-by: Baptiste Courtois <[email protected]>
ndp
added a commit
to ndp/thoreau
that referenced
this issue
Dec 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With recent release of
active_support
7.0.0 my grape apps are not loading anymore.It fails with the error
uninitialized constant ActiveSupport::XmlMini::IsolatedExecutionState (NameError)
, with following backtace:Someone reported an issue on rails (rails/rails#43851) and there even have been an attempt to fix it on this side; but it seems the issue is due to an incorrect way to require active_support's extensions.
According to this guide, it seems you should do a normal
require 'active_support'
prior to any more specific active_support import.The text was updated successfully, but these errors were encountered: