method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: YAMLColumn
new(attr_name, object_class = Object, permitted_classes: [], unsafe_load: nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/coders/yaml_column.rb, line 59
      def initialize(attr_name, object_class = Object, permitted_classes: [], unsafe_load: nil)
        super(
          attr_name,
          SafeCoder.new(permitted_classes: permitted_classes || [], unsafe_load: unsafe_load),
          object_class,
        )
        check_arity_of_constructor
      end
Register or log in to add new notes.