Exception: Rails::Secrets::MissingKeyError
- Defined in:
- railties/lib/rails/secrets.rb
Instance Method Summary collapse
-
#initialize ⇒ MissingKeyError
constructor
A new instance of MissingKeyError.
Constructor Details
#initialize ⇒ MissingKeyError
Returns a new instance of MissingKeyError.
10 11 12 13 14 15 |
# File 'railties/lib/rails/secrets.rb', line 10 def initialize super(<<-end_of_message.squish) Missing encryption key to decrypt secrets with. Ask your team for your master key and put it in ENV["RAILS_MASTER_KEY"] end_of_message end |