{"action":"closed","number":18775,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/18775","id":28436924,"html_url":"https://github.com/rails/rails/pull/18775","diff_url":"https://github.com/rails/rails/pull/18775.diff","patch_url":"https://github.com/rails/rails/pull/18775.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/18775","number":18775,"state":"closed","locked":false,"title":"Fallback to RAILS_RELATIVE_URL_ROOT in `url_for`","user":{"login":"yasyf","id":709645,"avatar_url":"https://avatars.githubusercontent.com/u/709645?v=3","gravatar_id":"","url":"https://api.github.com/users/yasyf","html_url":"https://github.com/yasyf","followers_url":"https://api.github.com/users/yasyf/followers","following_url":"https://api.github.com/users/yasyf/following{/other_user}","gists_url":"https://api.github.com/users/yasyf/gists{/gist_id}","starred_url":"https://api.github.com/users/yasyf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasyf/subscriptions","organizations_url":"https://api.github.com/users/yasyf/orgs","repos_url":"https://api.github.com/users/yasyf/repos","events_url":"https://api.github.com/users/yasyf/events{/privacy}","received_events_url":"https://api.github.com/users/yasyf/received_events","type":"User","site_admin":false},"body":"Fixed an issue where the `RAILS_RELATIVE_URL_ROOT` environment\r\nvariable is not prepended to the path when `url_for` is called.\r\nIf `SCRIPT_NAME` (used by Rack) is set, it takes precedence.\r\n\r\nFixes #5122.","created_at":"2015-02-01T20:52:20Z","updated_at":"2015-03-03T20:24:13Z","closed_at":"2015-03-03T20:24:13Z","merged_at":null,"merge_commit_sha":"72b4333a2e00bdb897eaa6d2585e0615251c4feb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/18775/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/18775/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/18775/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/52603274d09dbd26276421f44b8ae534655d7267","head":{"label":"yasyf:issue_5122","ref":"issue_5122","sha":"52603274d09dbd26276421f44b8ae534655d7267","user":{"login":"yasyf","id":709645,"avatar_url":"https://avatars.githubusercontent.com/u/709645?v=3","gravatar_id":"","url":"https://api.github.com/users/yasyf","html_url":"https://github.com/yasyf","followers_url":"https://api.github.com/users/yasyf/followers","following_url":"https://api.github.com/users/yasyf/following{/other_user}","gists_url":"https://api.github.com/users/yasyf/gists{/gist_id}","starred_url":"https://api.github.com/users/yasyf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasyf/subscriptions","organizations_url":"https://api.github.com/users/yasyf/orgs","repos_url":"https://api.github.com/users/yasyf/repos","events_url":"https://api.github.com/users/yasyf/events{/privacy}","received_events_url":"https://api.github.com/users/yasyf/received_events","type":"User","site_admin":false},"repo":{"id":30133885,"name":"rails","full_name":"yasyf/rails","owner":{"login":"yasyf","id":709645,"avatar_url":"https://avatars.githubusercontent.com/u/709645?v=3","gravatar_id":"","url":"https://api.github.com/users/yasyf","html_url":"https://github.com/yasyf","followers_url":"https://api.github.com/users/yasyf/followers","following_url":"https://api.github.com/users/yasyf/following{/other_user}","gists_url":"https://api.github.com/users/yasyf/gists{/gist_id}","starred_url":"https://api.github.com/users/yasyf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasyf/subscriptions","organizations_url":"https://api.github.com/users/yasyf/orgs","repos_url":"https://api.github.com/users/yasyf/repos","events_url":"https://api.github.com/users/yasyf/events{/privacy}","received_events_url":"https://api.github.com/users/yasyf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yasyf/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/yasyf/rails","forks_url":"https://api.github.com/repos/yasyf/rails/forks","keys_url":"https://api.github.com/repos/yasyf/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yasyf/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yasyf/rails/teams","hooks_url":"https://api.github.com/repos/yasyf/rails/hooks","issue_events_url":"https://api.github.com/repos/yasyf/rails/issues/events{/number}","events_url":"https://api.github.com/repos/yasyf/rails/events","assignees_url":"https://api.github.com/repos/yasyf/rails/assignees{/user}","branches_url":"https://api.github.com/repos/yasyf/rails/branches{/branch}","tags_url":"https://api.github.com/repos/yasyf/rails/tags","blobs_url":"https://api.github.com/repos/yasyf/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yasyf/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yasyf/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/yasyf/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yasyf/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/yasyf/rails/languages","stargazers_url":"https://api.github.com/repos/yasyf/rails/stargazers","contributors_url":"https://api.github.com/repos/yasyf/rails/contributors","subscribers_url":"https://api.github.com/repos/yasyf/rails/subscribers","subscription_url":"https://api.github.com/repos/yasyf/rails/subscription","commits_url":"https://api.github.com/repos/yasyf/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/yasyf/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/yasyf/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/yasyf/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/yasyf/rails/contents/{+path}","compare_url":"https://api.github.com/repos/yasyf/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yasyf/rails/merges","archive_url":"https://api.github.com/repos/yasyf/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yasyf/rails/downloads","issues_url":"https://api.github.com/repos/yasyf/rails/issues{/number}","pulls_url":"https://api.github.com/repos/yasyf/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/yasyf/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/yasyf/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yasyf/rails/labels{/name}","releases_url":"https://api.github.com/repos/yasyf/rails/releases{/id}","created_at":"2015-02-01T02:30:51Z","updated_at":"2015-03-03T20:15:00Z","pushed_at":"2015-03-03T20:20:08Z","git_url":"git://github.com/yasyf/rails.git","ssh_url":"git@github.com:yasyf/rails.git","clone_url":"https://github.com/yasyf/rails.git","svn_url":"https://github.com/yasyf/rails","homepage":"http://rubyonrails.org","size":130647,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"44ff0313c121f528a68b3bd21d6c7a96f313e3d3","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","created_at":"2008-04-11T02:19:47Z","updated_at":"2015-03-03T20:19:51Z","pushed_at":"2015-03-03T20:19:50Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":386283,"stargazers_count":25157,"watchers_count":25157,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9833,"mirror_url":null,"open_issues_count":714,"forks":9833,"open_issues":714,"watchers":25157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/18775"},"html":{"href":"https://github.com/rails/rails/pull/18775"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/18775"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/18775/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/18775/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/18775/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/52603274d09dbd26276421f44b8ae534655d7267"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":3,"commits":1,"additions":25,"deletions":1,"changed_files":4}}