The shared key wasn't working for me on a Rails 5 app. I needed to use YAML anchors as mentioned in this SO answer.
shared
shared: &shared foo: bar development: <<: *shared testing: <<: *shared production: <<: *shared
Thank you @colindean , that's useful information!
The shared key was introduced in PR #37913 which was in the early stages of Rails 6.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The
shared
key wasn't working for me on a Rails 5 app. I needed to use YAML anchors as mentioned in this SO answer.Thank you @colindean , that's useful information!
The
shared
key was introduced in PR #37913 which was in the early stages of Rails 6.