LoginSignup
0
0

More than 5 years have passed since last update.

[Rails5]deviseでgmailを送れる様にしたが、このままだと見られちゃ困るpasswordも公開される。そんな時のconfig

Last updated at Posted at 2018-06-30

gem config

タイトル通りdeviseでgmailをユーザーに送れる様にしたが、このままだとgithub等にソースをあげた時にgmailのアプリパスワード、アドレスも公開されてしまう。そんな時に使うgemがconfig.
簡単に言うと公開しないようにできます。

configの使い方

使い方はrails 一度gitHubにあげたID・パスワード等を履歴から消し、環境ごとに管理する公式を見たらすぐにできます。
どのファイルで設定するか

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0