{"issue":{"created_at":"2011-12-06T10:57:21Z","state":"closed","updated_at":"2011-12-06T12:28:30Z","user":{"gravatar_id":"6d89be962aea6ca120236b264edcf2ca","id":42868,"url":"https://api.github.com/users/tvdeyen","login":"tvdeyen","avatar_url":"https://secure.gravatar.com/avatar/6d89be962aea6ca120236b264edcf2ca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":10,"body":"`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.\r\n\r\nFurther there are circumstances where this a serious blocker:\r\n\r\nMountable apps.\r\n\r\nOne cannot pass an url from a mounted app to `expire_action` like this:\r\n\r\n`expire_action(engine_name.named_path)`\r\n\r\nSo submitted a patch that fixes this.","assignee":null,"number":3875,"pull_request":{"patch_url":"https://github.com/rails/rails/pull/3875.patch","html_url":"https://github.com/rails/rails/pull/3875","diff_url":"https://github.com/rails/rails/pull/3875.diff"},"id":2460945,"labels":[],"title":"Allow string as url for expire_action","html_url":"https://github.com/rails/rails/issues/3875","closed_at":"2011-12-06T12:06:54Z","url":"https://api.github.com/repos/rails/rails/issues/3875","milestone":null},"action":"created","comment":{"created_at":"2011-12-06T12:28:30Z","updated_at":"2011-12-06T12:28:30Z","user":{"gravatar_id":"6d89be962aea6ca120236b264edcf2ca","id":42868,"url":"https://api.github.com/users/tvdeyen","login":"tvdeyen","avatar_url":"https://secure.gravatar.com/avatar/6d89be962aea6ca120236b264edcf2ca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Ok, I updated the guides. \r\n\r\nhttps://github.com/lifo/docrails/commit/7e12aa7424d6db5468be0c78a4409e90d4454859\r\n\r\nWho releases them?","id":3031582,"url":"https://api.github.com/repos/rails/rails/issues/comments/3031582"}}