News for hackers. Stuff that matters.
Re:Rails 4.1.0 released by eggbrain on Tuesday April 08, 2014 @05:24PM (#7556103)
Secrets.yml is in .gitignore by default, while secret_token.rb is not, right? Most (beginner) programmers don't think to implement something like Foreman which handles their secret tokens / API keys and commit them straight into their code. With it being standard in the Rails app, gems can rely on sending their secret keys into a file they know will not be committed by default.

As is, you need to remember to dig through all your initializers and copy out all the tokens (Devise, Omniauth, etc) and put them in a .env file

Re:Rails 4.1.0 released by rubiquity on Tuesday April 08, 2014 @05:30PM (#7556137)
That's fair. I can agree it is a nice optimization for the beginner Rails developer.
Re:Rails 4.1.0 released by Podeau on Tuesday April 08, 2014 @07:11PM (#7556624)
secrets.yml is not in .gitignore by default
Re:Rails 4.1.0 released by eggbrain on Tuesday April 08, 2014 @07:19PM (#7556665)
Just checked -- you are right. I was using Rails Composer for one of the apps I checked, which does include it by default.
Re:Rails 4.1.0 released by Podeau on Tuesday April 08, 2014 @07:29PM (#7556722)
They also removed database.yml from the default .gitignore ... I don't understand why?
Re:Rails 4.1.0 released by arnvald on Wednesday April 09, 2014 @02:58AM (#7558026)
That makes sense, since database.yml is not going to contain any sensitive data anymore (passwords and usernames will be stored in secrets.yml), this file can be safely stored in repository.