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.

Pan Thomakos's latest activity

Friday, March 25 2011
6225 MemCacheStore can't deal with Umlauts and special characters was updated in Ruby on Rails
  • Pan Thomakos
    Pan Thomakos commented at 4:55 PM

    That's very similar to what I do, but I use the encoding of the ESCAPE_KEY_CHARS, in case it ever changes. If you get a chance, please take a look at the patch ...

Sunday, March 13 2011
6225 MemCacheStore can't deal with Umlauts and special characters was updated in Ruby on Rails
Saturday, March 12 2011
6534 [PATCH] Fixing inconsistencies with Time{WithZone}#{hash,eql?} was updated in Ruby on Rails
  • Pan Thomakos
    Pan Thomakos commented at 8:29 PM

    What you write makes sense. After taking a look at the class documentation this does seem to be the intent.

    I like your implementation, it's simple and elegant,...

  • Pan Thomakos
    Pan Thomakos commented at 1:26 AM

    It seems to me that these objects should behave like regular ruby objects do. For instance:

    10 == 10.00 # Same value
    => true
    10.eql?(10.00) # Same value differ...
Saturday, March 05 2011
6225 MemCacheStore can't deal with Umlauts and special characters was updated in Ruby on Rails
  • Pan Thomakos
    Pan Thomakos commented at 10:25 PM

    I've update the patch.

    After making the original change, I realized that the escape_key function forces the initial string into a new encoding. This means that ...

  • Pan Thomakos
    Pan Thomakos commented at 7:37 PM

    I ran into this same bug with UTF-8 special characters.

    The issue is in the ActiveSupport::Cache::MemCacheStore#escape_key function where the key is checked aga...