Spotlight enables librarians, curators, and others who are responsible for digital collections to create attractive, feature-rich websites that highlight these collections.
Other
157
stars
64
forks
source link
Pass the class argument to serialize as a keyword #3010
It looks like the method signature for ActiveRecord::AttributeMethods::Serialization::ClassMethods#serialize changed to accept keyword arguments with Rails 7.1 not 7.0 so I'm updating this PR to reflect that.
The positional argument is deprecated and will be removed in rails 7.2