method

write_inheritable_set

rails latest stable - Class: ActiveRecord::Validations::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.0.3) is shown here.

write_inheritable_set(key, methods)
private

No documentation available.

# File activerecord/lib/active_record/validations.rb, line 918
        def write_inheritable_set(key, methods)
          existing_methods = read_inheritable_attribute(key) || []
          write_inheritable_attribute(key, existing_methods | methods)
        end