Change environment config at runtime?

Hi all,

I am guessing this cannot be done, and then I am thinking its ruby so it
probably can be done.

In my production.rb under “environments/” I have this line:

config.action_controller.consider_all_requests_local = false

I would love to be able to change that at runtime…any thoughts?

Regards
Ivor

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