Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Web Dev best / common practices

Web Dev best / common practices

Yannis Jaquet

January 20, 2017
Tweet

More Decks by Yannis Jaquet

Other Decks in Technology

Transcript

  1. # Your secret key is used for verifying the integrity

    of signed cookies. # If you change this key, all old signed cookies will become invalid! development: secret_key_base: '04b10ac58bc552cd69ca04374fb39c63a2737367ad64fc9cc' test: secret_key_base: 'bba42c0a3010eff12fe90b88992879f0278373996f2c480e6' production: secret_key_base: '67ad64fc9ccc0f3da5e9098431fc0ff6fe9eebba42c0a3010' /config/secrets.yml
  2. # Your secret key is used for verifying the integrity

    of signed cookies. # If you change this key, all old signed cookies will become invalid! development: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> test: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> production: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> /config/secrets.yml