Now it is possible to have credentials for each environment. If the file for current environment exists it will take precedence over config/credentials.yml.enc. For eg. production environment looks for config/credentials/production.yml.enc first.
Some cache stores do not support recyclable cache keys. This can lead to generating the cache entries which never invalidate.
This change adds a check to ensure that if recyclable cache keys are being used then the cache store needs to show that it supports this versioning scheme.
The attribute methods for a model are currently defined lazily the first time that model is instantiated, even when config.eager_load is true.
Now they are defined while the app is booted to save the database round trip costs. There is related discussion and a pull request to do this change only when schema cache exists.
The arguments need to match exactly what the job get passed when calling assert_performed_with/assert_enqueued_with.
This change makes it possible to only check if a subset of arguments were passed to the job. Handy when you have too many arguments for the job.
50 people contributed to Rails over the past two weeks. Check out the full list of changes. If you are interested in helping out, we have plenty of open issues. I hope to see your name on the list next week!
This Week in Rails · 30 N Racine #200 · Chicago IL 60607 · USA