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

#as_json aren't being used for cookie jar serialization #16520

Closed
chancancode opened this issue Aug 15, 2014 · 1 comment
Closed

#as_json aren't being used for cookie jar serialization #16520

chancancode opened this issue Aug 15, 2014 · 1 comment
Assignees
Milestone

Comments

@chancancode
Copy link
Member

cc @rafaelfranca

@chancancode chancancode added this to the 4.2.0 milestone Aug 15, 2014
@chancancode chancancode self-assigned this Aug 15, 2014
@chancancode
Copy link
Member Author

Fixed on master in e158ee5

chancancode added a commit that referenced this issue Aug 17, 2014
Use the Active Support JSON encoder for cookie jars using the `:json` or
`:hybrid` serializer. This allows you to serialize custom Ruby objects into
cookies by defining the `#as_json` hook on such objects.

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

No branches or pull requests

1 participant