Exception: Rails::Secrets::MissingKeyError
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RuntimeError
|
|
Instance Chain:
self,
RuntimeError
|
|
Inherits: |
RuntimeError
|
Defined in: | railties/lib/rails/secrets.rb |
Class Method Summary
- .new ⇒ MissingKeyError constructor
Constructor Details
.new ⇒ MissingKeyError
# File 'railties/lib/rails/secrets.rb', line 11
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