method

protected_environments

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ClassMethods
protected_environments() public

The array of names of environments where destructive actions should be prohibited. By default, the value is ["production"].

Show source
Register or log in to add new notes.