How to see what environment variables are set via code in th


This is a newbie question since I am a newbie:)

Is there a way to determine the environment of the rails app in a
controller and see the values of the different env variables?

[Note: ActionController::AbstractRequest has a env method which is
available both in production and test Request objects. ]


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs