rails/rails — pull request #3876 by tvdeyen (2011-12-06 12:08:40+00:00)
Title: Allow string as url for expire_action

`expire_action` only accepts a hash as url options. So one cannot pass a url helper to expire_action. This is unintuitive and not needed, because `ActionCachePath` passes the options to `url_for`, that takes a string.

Further there are circumstances where this a serious blocker:

Mountable apps.

One cannot pass an url from a mounted app to `expire_action` like this:

`expire_action(engine_name.named_path)`

So submitted a patch that fixes this.