This project is archived and is in readonly mode.
[PATH] Cache.write should return duplicated value
Reported by Timur Vafin | June 30th, 2009 @ 07:41 PM | in 2.x
Cache.write modifies original object, that makes original
objects immutable.
In the patch simple fixup with test.
Comments and changes to this ticket
-
Repository July 1st, 2009 @ 08:24 PM
- State changed from new to resolved
(from [1026d7706ffb467eac3cee8142d964bc2d30baa8]) Original cache objects should not be immutable [#2860 state:resolved]
Signed-off-by: Yehuda Katz + Carl Lerche ykatz+clerche@engineyard.com
http://github.com/rails/rails/commit/1026d7706ffb467eac3cee8142d964...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 2655 Rails.cache freezes all objects passed to it These issues still here, here are two patches: * #2860 - ...
- 2655 Rails.cache freezes all objects passed to it #2860 - fixup issue when Cache.fetch return frozen object...
- 2302 Strategy::LocalCache makes memcache (or others) stored object immutable Cache#write should not modify original object, here is pa...
- 2860 [PATH] Cache.write should return duplicated value (from [1026d7706ffb467eac3cee8142d964bc2d30baa8]) Origina...