Flowdock
method

check_arity_of_constructor

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: YAMLColumn
check_arity_of_constructor() private

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 43
        def check_arity_of_constructor
          load(nil)
        rescue ArgumentError
          raise ArgumentError, "Cannot serialize #{object_class}. Classes passed to `serialize` must have a 0 argument constructor."
        end
Register or log in to add new notes.