method

check_arity_of_constructor

check_arity_of_constructor()
private

No documentation available.

# File activerecord/lib/active_record/coders/column_serializer.rb, line 54
        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