method

dump

rails latest stable - Class: ActiveRecord::Coders::YAMLColumn

Method deprecated or moved

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

dump(obj)
public

No documentation available.

# File activerecord/lib/active_record/coders/yaml_column.rb, line 16
      def dump(obj)
        return if obj.nil?

        assert_valid_value(obj, action: "dump")
        YAML.dump obj
      end