Sure, why not. I store all my stuff in secrets.yml but best practice to not commit secrets.yml (or database.yml) to version control.
> On Jul 17, 2017, at 2:26 PM, Ralph Shnelvar <[email protected]> wrote: > > If my code will not be shared, and > > My Rails app is on my own server, then > > Does it make a difference if the secret keys are in environment variables or > ~/config/secrets.yml ? > > Ralph > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/cfcadfa2-1cf1-4295-a36d-dfe9cb7f8763%40googlegroups.com > > <https://groups.google.com/d/msgid/rubyonrails-talk/cfcadfa2-1cf1-4295-a36d-dfe9cb7f8763%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/05D18599-F7D2-4892-87B3-10B466EC1B92%40gmail.com. For more options, visit https://groups.google.com/d/optout.

