{"action":"closed","number":20709,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/20709","id":38690034,"html_url":"https://github.com/rails/rails/pull/20709","diff_url":"https://github.com/rails/rails/pull/20709.diff","patch_url":"https://github.com/rails/rails/pull/20709.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/20709","number":20709,"state":"closed","locked":false,"title":"Ensure that quoted times do not deviate from the default db time format","user":{"login":"jorihardman","id":99236,"avatar_url":"https://avatars.githubusercontent.com/u/99236?v=3","gravatar_id":"","url":"https://api.github.com/users/jorihardman","html_url":"https://github.com/jorihardman","followers_url":"https://api.github.com/users/jorihardman/followers","following_url":"https://api.github.com/users/jorihardman/following{/other_user}","gists_url":"https://api.github.com/users/jorihardman/gists{/gist_id}","starred_url":"https://api.github.com/users/jorihardman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorihardman/subscriptions","organizations_url":"https://api.github.com/users/jorihardman/orgs","repos_url":"https://api.github.com/users/jorihardman/repos","events_url":"https://api.github.com/users/jorihardman/events{/privacy}","received_events_url":"https://api.github.com/users/jorihardman/received_events","type":"User","site_admin":false},"body":"This removes some code from the Quoting module in activerecord that would modify returned timestamps in such a way that they no longer followed the default to_s(:db) format. This caused some queries to break in versions of mysql that don't support microsecond precision. Test case that failed under the previous version included. Fixes #19711","created_at":"2015-06-26T21:13:56Z","updated_at":"2015-06-29T16:45:48Z","closed_at":"2015-06-29T16:45:48Z","merged_at":null,"merge_commit_sha":"b437f68cfe1d5ab06247db67b28e87694cdce7af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/20709/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/20709/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/20709/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/777d43248c92a2490cc46367203f0f61b75646d5","head":{"label":"jorihardman:timestamp_precision","ref":"timestamp_precision","sha":"777d43248c92a2490cc46367203f0f61b75646d5","user":{"login":"jorihardman","id":99236,"avatar_url":"https://avatars.githubusercontent.com/u/99236?v=3","gravatar_id":"","url":"https://api.github.com/users/jorihardman","html_url":"https://github.com/jorihardman","followers_url":"https://api.github.com/users/jorihardman/followers","following_url":"https://api.github.com/users/jorihardman/following{/other_user}","gists_url":"https://api.github.com/users/jorihardman/gists{/gist_id}","starred_url":"https://api.github.com/users/jorihardman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorihardman/subscriptions","organizations_url":"https://api.github.com/users/jorihardman/orgs","repos_url":"https://api.github.com/users/jorihardman/repos","events_url":"https://api.github.com/users/jorihardman/events{/privacy}","received_events_url":"https://api.github.com/users/jorihardman/received_events","type":"User","site_admin":false},"repo":{"id":2471099,"name":"rails","full_name":"jorihardman/rails","owner":{"login":"jorihardman","id":99236,"avatar_url":"https://avatars.githubusercontent.com/u/99236?v=3","gravatar_id":"","url":"https://api.github.com/users/jorihardman","html_url":"https://github.com/jorihardman","followers_url":"https://api.github.com/users/jorihardman/followers","following_url":"https://api.github.com/users/jorihardman/following{/other_user}","gists_url":"https://api.github.com/users/jorihardman/gists{/gist_id}","starred_url":"https://api.github.com/users/jorihardman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorihardman/subscriptions","organizations_url":"https://api.github.com/users/jorihardman/orgs","repos_url":"https://api.github.com/users/jorihardman/repos","events_url":"https://api.github.com/users/jorihardman/events{/privacy}","received_events_url":"https://api.github.com/users/jorihardman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jorihardman/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/jorihardman/rails","forks_url":"https://api.github.com/repos/jorihardman/rails/forks","keys_url":"https://api.github.com/repos/jorihardman/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jorihardman/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jorihardman/rails/teams","hooks_url":"https://api.github.com/repos/jorihardman/rails/hooks","issue_events_url":"https://api.github.com/repos/jorihardman/rails/issues/events{/number}","events_url":"https://api.github.com/repos/jorihardman/rails/events","assignees_url":"https://api.github.com/repos/jorihardman/rails/assignees{/user}","branches_url":"https://api.github.com/repos/jorihardman/rails/branches{/branch}","tags_url":"https://api.github.com/repos/jorihardman/rails/tags","blobs_url":"https://api.github.com/repos/jorihardman/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jorihardman/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jorihardman/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/jorihardman/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jorihardman/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/jorihardman/rails/languages","stargazers_url":"https://api.github.com/repos/jorihardman/rails/stargazers","contributors_url":"https://api.github.com/repos/jorihardman/rails/contributors","subscribers_url":"https://api.github.com/repos/jorihardman/rails/subscribers","subscription_url":"https://api.github.com/repos/jorihardman/rails/subscription","commits_url":"https://api.github.com/repos/jorihardman/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/jorihardman/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/jorihardman/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/jorihardman/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/jorihardman/rails/contents/{+path}","compare_url":"https://api.github.com/repos/jorihardman/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jorihardman/rails/merges","archive_url":"https://api.github.com/repos/jorihardman/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jorihardman/rails/downloads","issues_url":"https://api.github.com/repos/jorihardman/rails/issues{/number}","pulls_url":"https://api.github.com/repos/jorihardman/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/jorihardman/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/jorihardman/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jorihardman/rails/labels{/name}","releases_url":"https://api.github.com/repos/jorihardman/rails/releases{/id}","created_at":"2011-09-27T22:08:40Z","updated_at":"2014-10-22T20:20:23Z","pushed_at":"2015-06-26T21:09:02Z","git_url":"git://github.com/jorihardman/rails.git","ssh_url":"git@github.com:jorihardman/rails.git","clone_url":"https://github.com/jorihardman/rails.git","svn_url":"https://github.com/jorihardman/rails","homepage":"http://rubyonrails.org","size":124030,"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":"f9996803f857afcd6f32e18e63ab0269ac8213e6","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-06-29T16:13:21Z","pushed_at":"2015-06-29T12:51:11Z","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":426064,"stargazers_count":26704,"watchers_count":26704,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10663,"mirror_url":null,"open_issues_count":807,"forks":10663,"open_issues":807,"watchers":26704,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/20709"},"html":{"href":"https://github.com/rails/rails/pull/20709"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/20709"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/20709/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/20709/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/20709/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/777d43248c92a2490cc46367203f0f61b75646d5"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":6,"changed_files":2}}