opentelemetry-ruby icon indicating copy to clipboard operation
opentelemetry-ruby copied to clipboard

[WIP] Fix authenticity token failure in Rails example

Open hummusonrails opened this issue 2 years ago • 0 comments

This pull request adds the following setting in the configuration of the example Rails application:

config.action_controller.default_protect_from_forgery = true

Before doing so, the application would not start and instead exited with the following error:

ArgumentError (Before process_action callback :verify_authenticity_token has not been defined):

The Rails 7 example Gemfile is also updated to reflect the current release on the Rails v7 line.

hummusonrails avatar Feb 24 '22 09:02 hummusonrails