I have noticed in Rails 4.2 the following in rails console
password: <%= ENV[‘PASSWORD’] %>
password: <%= ENV[‘REPLICA_PASSWORD’] %>
If I look at ActiveRecord::Base.configurations[‘development’] the password set
If I look at ActiveRecord::Base.configurations[‘development_replicate’] the password is nil
This happens with any embedded ruby that is not in the Rails.env configuration block.
Is this expected behaviour?
To establish another connection I am supposed to do the following but the embedded ruby isn’t evaled
Advice or thoughts?