-
由 Igor Drozdov 创作于
It overrides the Rails method to use Set instead of an Array - https://github.com/rails/rails/blob/main/activemodel/lib/active_model/attribute_methods.rb#L383 In this case, when `alias_attribute` is called multiple times for the same attribute, the number doesn't grow.
由 Igor Drozdov 创作于It overrides the Rails method to use Set instead of an Array - https://github.com/rails/rails/blob/main/activemodel/lib/active_model/attribute_methods.rb#L383 In this case, when `alias_attribute` is called multiple times for the same attribute, the number doesn't grow.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。