Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The error message "Psych::DisallowedClass - Tried to load an unspecified class: ActiveSupport::TimeWithZone" usually means that an attempt was made to load a class that is not allowed by Psych, which is a YAML parser and serializer library for Ruby. In this specific case, the class that was tried to be loaded is ActiveSupport::TimeWithZone, which is a class in the Rails framework that represents a time zone-aware datetime object. This error message can occur when trying to load YAML data that includes this class, or when attempting to serialize an object that includes an instance of ActiveSupport::TimeWithZone to YAML.