You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JobScoped concern sets a before_action on the index action that does not exist in the RetriesController. For retries, it needs to run on the create action instead.
This is caused by the new Rails 7.1 default config for raising errors on missing callback actions.
AbstractController::ActionNotFound (The index action could not be found for the :set_job
callback on MissionControl::Jobs::RetriesController, but it is listed in the controller's
:except option.
Raising for missing callback actions is a new default in Rails 7.1, if you'd
like to turn this off you can delete the option from the environment configurations
or set `config.action_controller.raise_on_missing_callback_actions` to `false`.
):
The before_action might need to get extracted to the controllers, but it would be nice if it didn't have to?
The text was updated successfully, but these errors were encountered:
Ahhh, great catch @excid3! We've been running this in Rails 7.1 for a bit, but without having all of Rails 7.1 defaults yet. Because of that, we haven't run into this 😳 We'll fix it, will see how it'd look best 🤔
The
JobScoped
concern sets abefore_action
on the index action that does not exist in theRetriesController
. For retries, it needs to run on thecreate
action instead.This is caused by the new Rails 7.1 default config for raising errors on missing callback actions.
The
before_action
might need to get extracted to the controllers, but it would be nice if it didn't have to?The text was updated successfully, but these errors were encountered: