Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Timur Vafin's latest activity

Friday, September 25 2009
2655 Rails.cache freezes all objects passed to it was updated in Ruby on Rails
  • Timur Vafin
    Timur Vafin commented at 10:52 AM

    Yep guys,
    could anybody push rails team for that?

    Thanks,
    Timur

Tuesday, June 30 2009
2860 [PATH] Cache.write should return duplicated value was updated in Ruby on Rails
  • Timur Vafin
    Timur Vafin commented at 7:49 PM

    Updated patch attached.

  • Timur Vafin
    Timur Vafin created the ticket at 7:41 PM

    Cache.write modifies original object, that makes original objects immutable.
    In the patch simple fixup with test.

2302 Strategy::LocalCache makes memcache (or others) stored object immutable was updated in Ruby on Rails
  • Timur Vafin
    Timur Vafin commented at 7:47 PM

    Cache#write should not modify original object, here is patch #2860

2655 Rails.cache freezes all objects passed to it was updated in Ruby on Rails
  • Timur Vafin
    Timur Vafin commented at 7:45 PM

    With formatting again.

    These issues still here, here are two patches:

    • #2860 - fixup issue when Cache.fetch return frozen object first time
    • #2859 - fixup cache ...
  • Timur Vafin
    Timur Vafin commented at 7:45 PM

    These issues still here, here are two patches:
    * #2860 - fixup issue when Cache.fetch return frozen object first time * #2859 - fixup cache issue fo AR:B object

2859 [PATCH] Added AR:B#dup method for duplicationg object without frozen attributes was created in Ruby on Rails
  • Timur Vafin
    Timur Vafin created the ticket at 7:18 PM

    Standard way to unfreeze object is to call dup method on it, but this does not working AR:B object, b/c in the ActiveRecord::Base methods #freeze and #frozen? o...