Answers for "rails call env file"

-1

rails call env file

#in the .ENV file:
SECRET_TOKEN=qoLsDGcc8YEdeFQ8xWbtiwafMJvjUXpH

#in your code

key = ENV['SECRET_TOKEN']
Posted by: Guest on November-29-2020

Browse Popular Code Answers by Language