Skip to content

Conversation

@secretpray
Copy link
Contributor

Changes

Replace deprecated skip_before_action :verify_authenticity_token with skip_forgery_protection in:

  • app/controllers/notifications/unsubscribes_controller.rb
  • saas/app/controllers/stripe/webhooks_controller.rb

Details

Rails is deprecating skip_before_action :verify_authenticity_token in favor of skip_forgery_protection. This change resolves the deprecation warnings while maintaining the same functionality.

Testing

  • ✅ All tests pass locally
  • ✅ No behavioral changes

…token

Replace deprecated `skip_before_action :verify_authenticity_token` with
`skip_forgery_protection` to resolve Rails deprecation warnings.

Changes:
- app/controllers/notifications/unsubscribes_controller.rb
- saas/app/controllers/stripe/webhooks_controller.rb
@monorkin
Copy link
Contributor

Works great @secretpray ! Thank you for the PR.

@monorkin monorkin merged commit ceff6ea into basecamp:main Jan 13, 2026
5 checks passed
@secretpray secretpray deleted the fix/deprecation-warnings-only branch January 13, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants