method
protected_environments
rails latest stable - Class:
ActiveRecord::ModelSchema::ClassMethods
protected_environments()public
The array of names of environments where destructive actions should be prohibited. By default, the value is ["production"].