This project is archived and is in readonly mode.

#203 ✓resolved
José Valim

Added fragment_exist? method

Reported by José Valim | May 15th, 2008 @ 12:04 PM

Added fragment_exist? method.

This is most useful when using file_store cause You reduce the IO operations. And it's better then doing:

read_fragment(path).nil?

To this work properly, I also added an exist? method in all cache stores.

Tests included.

ps: For some strange reason, git format-patch doesn't work properly here (patch is not created).

Comments and changes to this ticket

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>

Pages