secret_token.rb 901 B

123456789101112131415
  1. #---
  2. # Excerpted from "Agile Web Development with Rails",
  3. # published by The Pragmatic Bookshelf.
  4. # Copyrights apply to this code. It may not be used to create training material,
  5. # courses, books, articles, and the like. Contact us if you are in doubt.
  6. # We make no guarantees that this code is fit for any purpose.
  7. # Visit http://www.pragmaticprogrammer.com/titles/rails4 for more book information.
  8. #---
  9. # Be sure to restart your server when you modify this file.
  10. # Your secret key for verifying the integrity of signed cookies.
  11. # If you change this key, all old signed cookies will become invalid!
  12. # Make sure the secret is at least 30 characters and all random,
  13. # no regular words or you'll be exposed to dictionary attacks.
  14. Rails.application.config.secret_token = '21d0fd931f5c004bf7c6c1dbadeb0271123557a574f21d744399d91c6a47c1ee14eeabd5eddd2d5ef8a07d4cf2b705fd00b48d6f4a3ae22c9b86b0822b563e7a'