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

Fixed a bug in write_entry() #2

Open
nengxu opened this issue Oct 13, 2010 · 0 comments
Open

Fixed a bug in write_entry() #2

nengxu opened this issue Oct 13, 2010 · 0 comments

Comments

@nengxu
Copy link

nengxu commented Oct 13, 2010

Thanks for creating this gem. I encountered a problem when using it:

  Rails.cache.write(key, trans)
  trans.delete_if {|key, value| value[:cen].blank? }

will raise an error saying trans is frozen, where trans is a hash. However, the above statements worked fine with file store.

I forked and fixed this bug as in:
http://github.com/nengxu/mongo_store/commit/f72c013e33fc387058968381bc42b2a0a738688b

Please review. Thanks.

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

1 participant