{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/22410592","id":22410592,"diff_hunk":"@@ -726,7 +726,7 @@ def except(adapter_names_to_exclude)\n     t.string   :author_name\n     t.string   :author_email_address\n     if mysql_56?\n-      t.datetime :written_on, limit: 6","path":"activerecord/test/schema/schema.rb","position":4,"original_position":4,"commit_id":"4157f5d172830df07b44a66d4096d152e068dc4a","original_commit_id":"4157f5d172830df07b44a66d4096d152e068dc4a","user":{"login":"kamipo","id":12642,"avatar_url":"https://avatars.githubusercontent.com/u/12642?v=3","gravatar_id":"","url":"https://api.github.com/users/kamipo","html_url":"https://github.com/kamipo","followers_url":"https://api.github.com/users/kamipo/followers","following_url":"https://api.github.com/users/kamipo/following{/other_user}","gists_url":"https://api.github.com/users/kamipo/gists{/gist_id}","starred_url":"https://api.github.com/users/kamipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamipo/subscriptions","organizations_url":"https://api.github.com/users/kamipo/orgs","repos_url":"https://api.github.com/users/kamipo/repos","events_url":"https://api.github.com/users/kamipo/events{/privacy}","received_events_url":"https://api.github.com/users/kamipo/received_events","type":"User","site_admin":false},"body":"Yes, `:limit` was working before and still works.","created_at":"2015-01-02T13:53:59Z","updated_at":"2015-01-02T13:53:59Z","html_url":"https://github.com/rails/rails/pull/18067#discussion_r22410592","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/18067","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/22410592"},"html":{"href":"https://github.com/rails/rails/pull/18067#discussion_r22410592"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/18067"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/18067","id":26210365,"html_url":"https://github.com/rails/rails/pull/18067","diff_url":"https://github.com/rails/rails/pull/18067.diff","patch_url":"https://github.com/rails/rails/pull/18067.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/18067","number":18067,"state":"open","locked":false,"title":"Format the datetime string according to the precision of the datetime field.","user":{"login":"kamipo","id":12642,"avatar_url":"https://avatars.githubusercontent.com/u/12642?v=3","gravatar_id":"","url":"https://api.github.com/users/kamipo","html_url":"https://github.com/kamipo","followers_url":"https://api.github.com/users/kamipo/followers","following_url":"https://api.github.com/users/kamipo/following{/other_user}","gists_url":"https://api.github.com/users/kamipo/gists{/gist_id}","starred_url":"https://api.github.com/users/kamipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamipo/subscriptions","organizations_url":"https://api.github.com/users/kamipo/orgs","repos_url":"https://api.github.com/users/kamipo/repos","events_url":"https://api.github.com/users/kamipo/events{/privacy}","received_events_url":"https://api.github.com/users/kamipo/received_events","type":"User","site_admin":false},"body":"Incompatible to rounding behavior between MySQL 5.6 and earlier.\r\n\r\nIn 5.5, when you insert `2014-08-17 12:30:00.999999` the fractional part is ignored. In 5.6, it's rounded to `2014-08-17 12:30:01`: http://bugs.mysql.com/bug.php?id=68760","created_at":"2014-12-17T09:27:23Z","updated_at":"2015-01-02T13:53:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb9722fb7f4e179a29f1d738738112a85aeda735","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/18067/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/18067/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rails/rails/issues/18067/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/4157f5d172830df07b44a66d4096d152e068dc4a","head":{"label":"kamipo:format_datetime_string_according_to_precision","ref":"format_datetime_string_according_to_precision","sha":"4157f5d172830df07b44a66d4096d152e068dc4a","user":{"login":"kamipo","id":12642,"avatar_url":"https://avatars.githubusercontent.com/u/12642?v=3","gravatar_id":"","url":"https://api.github.com/users/kamipo","html_url":"https://github.com/kamipo","followers_url":"https://api.github.com/users/kamipo/followers","following_url":"https://api.github.com/users/kamipo/following{/other_user}","gists_url":"https://api.github.com/users/kamipo/gists{/gist_id}","starred_url":"https://api.github.com/users/kamipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamipo/subscriptions","organizations_url":"https://api.github.com/users/kamipo/orgs","repos_url":"https://api.github.com/users/kamipo/repos","events_url":"https://api.github.com/users/kamipo/events{/privacy}","received_events_url":"https://api.github.com/users/kamipo/received_events","type":"User","site_admin":false},"repo":{"id":14544189,"name":"rails","full_name":"kamipo/rails","owner":{"login":"kamipo","id":12642,"avatar_url":"https://avatars.githubusercontent.com/u/12642?v=3","gravatar_id":"","url":"https://api.github.com/users/kamipo","html_url":"https://github.com/kamipo","followers_url":"https://api.github.com/users/kamipo/followers","following_url":"https://api.github.com/users/kamipo/following{/other_user}","gists_url":"https://api.github.com/users/kamipo/gists{/gist_id}","starred_url":"https://api.github.com/users/kamipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamipo/subscriptions","organizations_url":"https://api.github.com/users/kamipo/orgs","repos_url":"https://api.github.com/users/kamipo/repos","events_url":"https://api.github.com/users/kamipo/events{/privacy}","received_events_url":"https://api.github.com/users/kamipo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kamipo/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/kamipo/rails","forks_url":"https://api.github.com/repos/kamipo/rails/forks","keys_url":"https://api.github.com/repos/kamipo/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kamipo/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kamipo/rails/teams","hooks_url":"https://api.github.com/repos/kamipo/rails/hooks","issue_events_url":"https://api.github.com/repos/kamipo/rails/issues/events{/number}","events_url":"https://api.github.com/repos/kamipo/rails/events","assignees_url":"https://api.github.com/repos/kamipo/rails/assignees{/user}","branches_url":"https://api.github.com/repos/kamipo/rails/branches{/branch}","tags_url":"https://api.github.com/repos/kamipo/rails/tags","blobs_url":"https://api.github.com/repos/kamipo/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kamipo/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kamipo/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/kamipo/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kamipo/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/kamipo/rails/languages","stargazers_url":"https://api.github.com/repos/kamipo/rails/stargazers","contributors_url":"https://api.github.com/repos/kamipo/rails/contributors","subscribers_url":"https://api.github.com/repos/kamipo/rails/subscribers","subscription_url":"https://api.github.com/repos/kamipo/rails/subscription","commits_url":"https://api.github.com/repos/kamipo/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/kamipo/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/kamipo/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/kamipo/rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/kamipo/rails/contents/{+path}","compare_url":"https://api.github.com/repos/kamipo/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kamipo/rails/merges","archive_url":"https://api.github.com/repos/kamipo/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kamipo/rails/downloads","issues_url":"https://api.github.com/repos/kamipo/rails/issues{/number}","pulls_url":"https://api.github.com/repos/kamipo/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/kamipo/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/kamipo/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kamipo/rails/labels{/name}","releases_url":"https://api.github.com/repos/kamipo/rails/releases{/id}","created_at":"2013-11-20T02:14:22Z","updated_at":"2014-03-12T13:52:06Z","pushed_at":"2015-01-02T13:31:46Z","git_url":"git://github.com/kamipo/rails.git","ssh_url":"git@github.com:kamipo/rails.git","clone_url":"https://github.com/kamipo/rails.git","svn_url":"https://github.com/kamipo/rails","homepage":"http://rubyonrails.org","size":120003,"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":"b63382ec062730699ddda50bf4aeec49cb2f60af","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-01-02T13:48:59Z","pushed_at":"2015-01-02T13:48:59Z","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":369653,"stargazers_count":24464,"watchers_count":24464,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9429,"mirror_url":null,"open_issues_count":775,"forks":9429,"open_issues":775,"watchers":24464,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/18067"},"html":{"href":"https://github.com/rails/rails/pull/18067"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/18067"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/18067/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/18067/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/18067/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/4157f5d172830df07b44a66d4096d152e068dc4a"}}}}