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.

Brad Forsyth's latest activity

Sunday, June 13 2010
4827 Fragment cache not generating the proper cache key was updated in Ruby on Rails
  • Brad Forsyth
    Brad Forsyth commented at 3:52 PM

    I am not following this logic. The fragment_cache_key is called anyway, it should be called before the benchmark call so that the log clearly shows what key is ...

Friday, June 11 2010
4827 Fragment cache not generating the proper cache key was updated in Ruby on Rails
  • Brad Forsyth
    Brad Forsyth commented at 8:48 PM

    In rails 2.3.5 the cache key for this example would be:

    views/hello/users/1-20100611015342

    The log should show 'Cached fragment miss: views/hello/users/1-201006...

  • Brad Forsyth
    Brad Forsyth created the ticket at 1:22 AM

    The cache key is not being generated properly in rails 2.3.8 compared to rails 2.3.5 view cache method.

    cache(['text',model]) do
    ... end

    Should generate a key t...