Understanding the secret_key_base in Ruby on Rails
07-Sep-2017 3086
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 #Understanding #secret_key_base #Rails https://rubyonrails.ba/link/understanding-the-secret_key_base-in-ruby-on-rails