123456789_123456789_123456789_123456789_123456789_

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
  • ::Object
Defined in: railties/lib/rails/secrets.rb

Class Method Summary

Constructor Details

.newMissingKeyError

[ GitHub ]

  
# 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