Flowdock
method

edit

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: CredentialsCommand
edit() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/credentials/credentials_command.rb, line 19
      def edit
        require_application!

        ensure_editor_available(command: "bin/rails credentials:edit") || (return)
        ensure_master_key_has_been_added if Rails.application.credentials.key.nil?
        ensure_credentials_have_been_added

        catch_editing_exceptions do
          change_credentials_in_system_editor
        end

        say "New credentials encrypted and saved."
      end
Register or log in to add new notes.