method
protected_environments=
rails latest stable - Class:
ActiveRecord::ModelSchema::ClassMethods
protected_environments=(environments)public
Sets an array of names of environments where destructive actions should be prohibited.
protected_environments=(environments)Sets an array of names of environments where destructive actions should be prohibited.