Update: Some people report in the comments that this doesn’t work as of Rails 4.2.x.x. I haven’t tried it myself, so YMMV.
Ah, finally figured out the simple solution – it accepts embedded Ruby:
password: <%= ENV['APP_USER_POSTGRES_PASSWORD'] %>
Update: Some people report in the comments that this doesn’t work as of Rails 4.2.x.x. I haven’t tried it myself, so YMMV.
Ah, finally figured out the simple solution – it accepts embedded Ruby:
password: <%= ENV['APP_USER_POSTGRES_PASSWORD'] %>