Skip to Content Skip to Search

class Rails::Secrets::MissingKeyError

Inherits From

Public class methods

Source code 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

Definition files