rails

https://github.com/rails/rails

Ruby

Ruby on Rails

ActionDispatch::ContentSecurityPolicy::Request#content_security_policy_nonce_directives

No Docs, write some!

Source | Google | Stack overflow

Edit

$ git clone [email protected]:rails/rails.git
$ cd rails
$ open actionpack/lib/action_dispatch/http/content_security_policy.rb

Contribute

# Make a new branch
$ git checkout -b -your-name--update-docs-ActionDispatch--ContentSecurityPolicy--Request-content_security_policy_nonce_directives-for-pr

# Commit to git
$ git add actionpack/lib/action_dispatch/http/content_security_policy.rb
$ git commit -m "better docs for ActionDispatch::ContentSecurityPolicy::Request#content_security_policy_nonce_directives"

# Open pull request
$ gem install hub # on a mac you can `brew install hub`
$ hub fork
$ git push <your name> -your-name--update-docs-ActionDispatch--ContentSecurityPolicy--Request-content_security_policy_nonce_directives-for-pr
$ hub pull-request

# Celebrate!