class method
self.new
Ruby on Rails 6.0.6
Since v5.2.8.1 Last seen in v7.1.6Signature
self.new()
No documentation comment.
Source
# 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
Defined in railties/lib/rails/secrets.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Secrets::MissingKeyError