method

env=

rails latest stable - Class: Rails
env=(environment)
public

Sets the Rails environment.

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