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

Convert Comment to a hash before passing to mailer, and then to an OpenStruct for processing #1790

Closed
wants to merge 1 commit into from

Conversation

mbklein
Copy link
Member

@mbklein mbklein commented Mar 27, 2017

Fixes #1789

ActiveJob can't serialize a Comment, but it can serialize a Hash. By leveraging OpenStruct, we can convert the Comment to a Hash for serializing, and then back to something that quacks like a Comment for rendering.

@cjcolvar
Copy link
Member

I believe these tests are failing because the branch was cut from master instead of develop. I cherry picked this commit to a branch cut from develop and created #1791. After it is merged to develop, we should merge it to staging and then to master.

@cjcolvar
Copy link
Member

Closing due to #1791 being merged.

@cjcolvar cjcolvar closed this Mar 29, 2017
@cjcolvar cjcolvar deleted the bugfix/1789-comment-mailer branch March 29, 2017 06:21
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

Successfully merging this pull request may close these issues.

None yet

2 participants