method

env=

v8.1.1 - Show latest stable - Class: Rails
env=(environment)
public

Sets the Rails environment.

Rails.env = "staging" # => "staging"