-
Notifications
You must be signed in to change notification settings - Fork 197
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
Run action controller load hook only once #282
Conversation
Wonderful, thank you! 😃 Would you please include the context in the PR description as part of the commit message? After that, will merge on green CI. Yay!! 🎉 |
Will try, my English is poor |
Current PR description is good enough! :-) |
Rails 5.1 seems to fail on CI:
|
Ok, let me check |
Build failure in 5.1 is unrelated and is a rails bug. build is failing in master as well rails/rails#29022 |
Rails execute `action_controller` onload hooks for Both ActionController::Base and ActionController::API. Rails [introduced](rails/rails#30045) `has_one` option to limit executions to one This will fix merit-gem#173 for rails 5.1.4 and above
@tute tests are now 💚 |
Thank you so much! 👏 🎉 ❤️ 😃 |
This fix is for newer version of rails ( rails 5.14 and above) . And fix is not available in released gem yet |
OK, I will wait! Thanks :) |
Hi guys, are you planning on doing a release to get this fix soon ?
Thanks |
I'd like to get #279 in before a new release. Anyone willing to wrap up the work started in that PR? Thank you, all! :-) |
@tute done |
Thank you, released! |
Rails execute
action_controller
onload hooks for Both ActionController::Base and ActionController::API.Rails introduced
has_one
option to limit executions to oneThis will fix #173 for rails 5.1.4 and above