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

Fix for attr_accessor_with_default causing "singleton can't be dumped" exception on marshaling #1088

Closed
wants to merge 1 commit into from

Conversation

bgipsy
Copy link

@bgipsy bgipsy commented May 16, 2011

Please find proposed fix for attr_accessor_with_default. It addresses the problem which can be triggered by memcached client library when it tries to marshal an object with non-default attribute value. #refactotum

@josevalim
Copy link
Contributor

Thanks bro but I am deprecating attr_accssor_with_default because it is just much easier for you to implement the method yourself instead.

@josevalim josevalim closed this May 16, 2011
@bgipsy
Copy link
Author

bgipsy commented May 16, 2011

Thanks for the prompt response. Yes, doing such thing by hand makes sense. The bug is in there until old implementation is present though.

jake3030 pushed a commit to jake3030/rails that referenced this pull request Jun 28, 2011
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