Understanding the secret_key_base in Ruby on Rails
Have you ever wondered what the secret_key_base value is and how it’s used in a Rails application? This configuration value was introduced in Rails 4 and is usually defined on a per-environment basis. It’s purpose is simple: to be the secret input for the application’s key_generator method.
Understanding the secret_key_base in Ruby on Rails #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/understanding-the-secret_key_base-in-ruby-on-rails