Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Compatibility notes re: Rails could clarify situation for Rails 7.1+ #939

Open
olleolleolle opened this issue Sep 12, 2024 · 1 comment

Comments

@olleolleolle
Copy link
Contributor

olleolleolle commented Sep 12, 2024

Detail: the arity of the serialize class method changed a little, taking type" and coder: kwargs. EDIT: API docs on serialize, https://api.rubyonrails.org/classes/ActiveRecord/AttributeMethods/Serialization/ClassMethods.html#method-i-serialize

The new arity is: serialize(attr_name, coder: nil, type: Object, yaml: {}, **options)

What's the state now?

@ohler55
Copy link
Owner

ohler55 commented Sep 12, 2024

Is there an issue? If you have discovered an issue please explain in more detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants