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.

This project is archived and is in readonly mode.

"Cached fragment hit" written to log even if fragment is not cached

#2917

When using the <% cache(...) do %> ... <% end %> idiom within a view a "Cached fragment hit" line will be written to the log even in the case that the fragment is not actually cached. This behavior is misleading.

Reported by Erik Andrejko · July 16th, 2009 @ 05:48 PM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Michael Koziarski
    Michael Koziarski
    • Tag changed from actioncontroller, actionpack, caching, patch to actioncontroller, actionpack, bugmash, caching, patch

    August 3rd, 2009 @ 06:14 AM

  2. dira
    dira

    verified

    Test & patch apply cleanly with

    git apply --whitespace=fix

    Trying to run the test to see it failing without the fix will correctly give a failure, even if the message is unintuitive (a mocha bug).

    August 8th, 2009 @ 03:00 PM

  3. David Trasbo
    David Trasbo

    +1

    Patch applied cleanly to edge with --whitespace=fix option as @dira said. All tests passing.

    August 8th, 2009 @ 04:40 PM

  4. Repository
    Repository
    • State changed from new to resolved

    August 8th, 2009 @ 04:47 PM

  5. CancelProfileIsBroken
    CancelProfileIsBroken
    • Tag changed from actioncontroller, actionpack, bugmash, caching, patch to actioncontroller, actionpack, caching, patch
    • Milestone cleared.

    August 8th, 2009 @ 11:08 PM