This project is archived and is in readonly mode.

#40 ✓resolved
geemus (Wesley Beary)

nil default options for file_store

Reported by geemus (Wesley Beary) | April 23rd, 2008 @ 12:29 AM

When working with custom caching, I switched from memory_store to file_store and started having a number of errors that I at first assumed were my own. Upon further examination I saw the issues was a "wrong number of parameters 1 for 2" type error on the delete call.

So this patch changes the options parameter to default to nil on delete and delete_matched to be more consistent with the other cache store interfaces.

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>

Attachments

Pages