Exception: Rails::Secrets::MissingKeyError
- Inherits:
 - 
      RuntimeError
      
        
- Object
 - RuntimeError
 - Rails::Secrets::MissingKeyError
 
 
- Defined in:
 - lib/rails/secrets.rb
 
Overview
:nodoc:
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 '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  |