[Rails] After upgrade to 7.2.2 / NoMethodError: undefined method `actions' for nil:NilClass / Heroku Review apps

And here it is:

...
actions_change_password   POST   /actions/change-password(.:format)   forest_liana/devise#change_password
...

Yes, that helped. I’m still not able to reproduce though …
Can I see the config/routes.rb of your project (Again, as DM if you consider it private)?

After investigating the code you suspect is causing the issue, I’m pretty sure either:

  • Your change password controller is attached on the :forest namespace - which may be the cause of the issue.
  • The contribution you mentionned has a larger scope for action/smart actions detection, and you have a controller that is detected as “containing a smart action” even though it doesn’t.

Sent you a DM. Also note that I do not override default Devise controllers in my project.

Ok, I’ve been able to reproduce the issue on my end. I’ve opened a bug report in our bug tracker. Be sure you’ll be ping once fixed.

I’ve also opened a PR here that should hopefully address the issue short-term. Let me know if that’s the case or not :pray:

1 Like