{"action":"created","comment":{"url":"https://api.github.com/repos/emberjs/data/pulls/comments/63294610","id":63294610,"diff_hunk":"@@ -849,4 +851,21 @@ InternalModel.prototype = {\n \n     return reference;\n   }\n-};\n+}\n+\n+if (isEnabled('ds-reset-attribute')) {\n+  /*\n+     Returns the latest truth for an attribute - the canonical value, or the\n+     in-flight value.\n+\n+     @method latestTrueValue\n+     @private\n+  */\n+  InternalModel.prototype.latestTrueValue = function latestTrueValue(key) {","path":"addon/-private/system/model/internal-model.js","position":31,"original_position":31,"commit_id":"17764491409bb6b5fdebdc2db94ba9e40ea99796","original_commit_id":"17764491409bb6b5fdebdc2db94ba9e40ea99796","user":{"login":"courajs","id":1588273,"avatar_url":"https://avatars.githubusercontent.com/u/1588273?v=3","gravatar_id":"","url":"https://api.github.com/users/courajs","html_url":"https://github.com/courajs","followers_url":"https://api.github.com/users/courajs/followers","following_url":"https://api.github.com/users/courajs/following{/other_user}","gists_url":"https://api.github.com/users/courajs/gists{/gist_id}","starred_url":"https://api.github.com/users/courajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courajs/subscriptions","organizations_url":"https://api.github.com/users/courajs/orgs","repos_url":"https://api.github.com/users/courajs/repos","events_url":"https://api.github.com/users/courajs/events{/privacy}","received_events_url":"https://api.github.com/users/courajs/received_events","type":"User","site_admin":false},"body":"I could settle for `lastCanonicalOrInFlightAttributeValue`. What about `latestSavedValue` or `latestComittedValue`? Since it's not necessarily canonical yet, but it's trying to be.","created_at":"2016-05-15T16:53:52Z","updated_at":"2016-05-15T16:53:52Z","html_url":"https://github.com/emberjs/data/pull/4246#discussion_r63294610","pull_request_url":"https://api.github.com/repos/emberjs/data/pulls/4246","_links":{"self":{"href":"https://api.github.com/repos/emberjs/data/pulls/comments/63294610"},"html":{"href":"https://github.com/emberjs/data/pull/4246#discussion_r63294610"},"pull_request":{"href":"https://api.github.com/repos/emberjs/data/pulls/4246"}}},"pull_request":{"url":"https://api.github.com/repos/emberjs/data/pulls/4246","id":63419504,"html_url":"https://github.com/emberjs/data/pull/4246","diff_url":"https://github.com/emberjs/data/pull/4246.diff","patch_url":"https://github.com/emberjs/data/pull/4246.patch","issue_url":"https://api.github.com/repos/emberjs/data/issues/4246","number":4246,"state":"open","locked":false,"title":"[FEATURE ds-rollback-attribute] Add rolling back of a single model attribute","user":{"login":"courajs","id":1588273,"avatar_url":"https://avatars.githubusercontent.com/u/1588273?v=3","gravatar_id":"","url":"https://api.github.com/users/courajs","html_url":"https://github.com/courajs","followers_url":"https://api.github.com/users/courajs/followers","following_url":"https://api.github.com/users/courajs/following{/other_user}","gists_url":"https://api.github.com/users/courajs/gists{/gist_id}","starred_url":"https://api.github.com/users/courajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courajs/subscriptions","organizations_url":"https://api.github.com/users/courajs/orgs","repos_url":"https://api.github.com/users/courajs/repos","events_url":"https://api.github.com/users/courajs/events{/privacy}","received_events_url":"https://api.github.com/users/courajs/received_events","type":"User","site_admin":false},"body":"First pass at #3705 \r\nFirst feature PR!\r\nIs there any subtlety around in-flight records that I'm missing?","created_at":"2016-03-18T18:45:48Z","updated_at":"2016-05-15T16:53:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"360b0374f031c032fe4ed2ef0746ba017f4a66fa","assignee":{"login":"pangratz","id":341877,"avatar_url":"https://avatars.githubusercontent.com/u/341877?v=3","gravatar_id":"","url":"https://api.github.com/users/pangratz","html_url":"https://github.com/pangratz","followers_url":"https://api.github.com/users/pangratz/followers","following_url":"https://api.github.com/users/pangratz/following{/other_user}","gists_url":"https://api.github.com/users/pangratz/gists{/gist_id}","starred_url":"https://api.github.com/users/pangratz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pangratz/subscriptions","organizations_url":"https://api.github.com/users/pangratz/orgs","repos_url":"https://api.github.com/users/pangratz/repos","events_url":"https://api.github.com/users/pangratz/events{/privacy}","received_events_url":"https://api.github.com/users/pangratz/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/emberjs/data/pulls/4246/commits","review_comments_url":"https://api.github.com/repos/emberjs/data/pulls/4246/comments","review_comment_url":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emberjs/data/issues/4246/comments","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/17764491409bb6b5fdebdc2db94ba9e40ea99796","head":{"label":"courajs:rollback-attribute","ref":"rollback-attribute","sha":"17764491409bb6b5fdebdc2db94ba9e40ea99796","user":{"login":"courajs","id":1588273,"avatar_url":"https://avatars.githubusercontent.com/u/1588273?v=3","gravatar_id":"","url":"https://api.github.com/users/courajs","html_url":"https://github.com/courajs","followers_url":"https://api.github.com/users/courajs/followers","following_url":"https://api.github.com/users/courajs/following{/other_user}","gists_url":"https://api.github.com/users/courajs/gists{/gist_id}","starred_url":"https://api.github.com/users/courajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courajs/subscriptions","organizations_url":"https://api.github.com/users/courajs/orgs","repos_url":"https://api.github.com/users/courajs/repos","events_url":"https://api.github.com/users/courajs/events{/privacy}","received_events_url":"https://api.github.com/users/courajs/received_events","type":"User","site_admin":false},"repo":{"id":18653863,"name":"data","full_name":"courajs/data","owner":{"login":"courajs","id":1588273,"avatar_url":"https://avatars.githubusercontent.com/u/1588273?v=3","gravatar_id":"","url":"https://api.github.com/users/courajs","html_url":"https://github.com/courajs","followers_url":"https://api.github.com/users/courajs/followers","following_url":"https://api.github.com/users/courajs/following{/other_user}","gists_url":"https://api.github.com/users/courajs/gists{/gist_id}","starred_url":"https://api.github.com/users/courajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/courajs/subscriptions","organizations_url":"https://api.github.com/users/courajs/orgs","repos_url":"https://api.github.com/users/courajs/repos","events_url":"https://api.github.com/users/courajs/events{/privacy}","received_events_url":"https://api.github.com/users/courajs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/courajs/data","description":"A data persistence library for Ember.js.","fork":true,"url":"https://api.github.com/repos/courajs/data","forks_url":"https://api.github.com/repos/courajs/data/forks","keys_url":"https://api.github.com/repos/courajs/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/courajs/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/courajs/data/teams","hooks_url":"https://api.github.com/repos/courajs/data/hooks","issue_events_url":"https://api.github.com/repos/courajs/data/issues/events{/number}","events_url":"https://api.github.com/repos/courajs/data/events","assignees_url":"https://api.github.com/repos/courajs/data/assignees{/user}","branches_url":"https://api.github.com/repos/courajs/data/branches{/branch}","tags_url":"https://api.github.com/repos/courajs/data/tags","blobs_url":"https://api.github.com/repos/courajs/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/courajs/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/courajs/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/courajs/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/courajs/data/statuses/{sha}","languages_url":"https://api.github.com/repos/courajs/data/languages","stargazers_url":"https://api.github.com/repos/courajs/data/stargazers","contributors_url":"https://api.github.com/repos/courajs/data/contributors","subscribers_url":"https://api.github.com/repos/courajs/data/subscribers","subscription_url":"https://api.github.com/repos/courajs/data/subscription","commits_url":"https://api.github.com/repos/courajs/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/courajs/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/courajs/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/courajs/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/courajs/data/contents/{+path}","compare_url":"https://api.github.com/repos/courajs/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/courajs/data/merges","archive_url":"https://api.github.com/repos/courajs/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/courajs/data/downloads","issues_url":"https://api.github.com/repos/courajs/data/issues{/number}","pulls_url":"https://api.github.com/repos/courajs/data/pulls{/number}","milestones_url":"https://api.github.com/repos/courajs/data/milestones{/number}","notifications_url":"https://api.github.com/repos/courajs/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/courajs/data/labels{/name}","releases_url":"https://api.github.com/repos/courajs/data/releases{/id}","deployments_url":"https://api.github.com/repos/courajs/data/deployments","created_at":"2014-04-10T22:20:18Z","updated_at":"2016-02-22T03:24:59Z","pushed_at":"2016-05-12T13:35:54Z","git_url":"git://github.com/courajs/data.git","ssh_url":"git@github.com:courajs/data.git","clone_url":"https://github.com/courajs/data.git","svn_url":"https://github.com/courajs/data","homepage":"","size":11287,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"emberjs:master","ref":"master","sha":"483648d2a7cfe776a8eab7992eca1faf454f0b58","user":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"repo":{"id":3016562,"name":"data","full_name":"emberjs/data","owner":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emberjs/data","description":"A data persistence library for Ember.js.","fork":false,"url":"https://api.github.com/repos/emberjs/data","forks_url":"https://api.github.com/repos/emberjs/data/forks","keys_url":"https://api.github.com/repos/emberjs/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emberjs/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emberjs/data/teams","hooks_url":"https://api.github.com/repos/emberjs/data/hooks","issue_events_url":"https://api.github.com/repos/emberjs/data/issues/events{/number}","events_url":"https://api.github.com/repos/emberjs/data/events","assignees_url":"https://api.github.com/repos/emberjs/data/assignees{/user}","branches_url":"https://api.github.com/repos/emberjs/data/branches{/branch}","tags_url":"https://api.github.com/repos/emberjs/data/tags","blobs_url":"https://api.github.com/repos/emberjs/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emberjs/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emberjs/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/emberjs/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/{sha}","languages_url":"https://api.github.com/repos/emberjs/data/languages","stargazers_url":"https://api.github.com/repos/emberjs/data/stargazers","contributors_url":"https://api.github.com/repos/emberjs/data/contributors","subscribers_url":"https://api.github.com/repos/emberjs/data/subscribers","subscription_url":"https://api.github.com/repos/emberjs/data/subscription","commits_url":"https://api.github.com/repos/emberjs/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/emberjs/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/emberjs/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/emberjs/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/emberjs/data/contents/{+path}","compare_url":"https://api.github.com/repos/emberjs/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emberjs/data/merges","archive_url":"https://api.github.com/repos/emberjs/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emberjs/data/downloads","issues_url":"https://api.github.com/repos/emberjs/data/issues{/number}","pulls_url":"https://api.github.com/repos/emberjs/data/pulls{/number}","milestones_url":"https://api.github.com/repos/emberjs/data/milestones{/number}","notifications_url":"https://api.github.com/repos/emberjs/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emberjs/data/labels{/name}","releases_url":"https://api.github.com/repos/emberjs/data/releases{/id}","deployments_url":"https://api.github.com/repos/emberjs/data/deployments","created_at":"2011-12-20T01:50:40Z","updated_at":"2016-05-13T11:41:04Z","pushed_at":"2016-05-13T14:59:06Z","git_url":"git://github.com/emberjs/data.git","ssh_url":"git@github.com:emberjs/data.git","clone_url":"https://github.com/emberjs/data.git","svn_url":"https://github.com/emberjs/data","homepage":"","size":20006,"stargazers_count":2677,"watchers_count":2677,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1052,"mirror_url":null,"open_issues_count":210,"forks":1052,"open_issues":210,"watchers":2677,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emberjs/data/pulls/4246"},"html":{"href":"https://github.com/emberjs/data/pull/4246"},"issue":{"href":"https://api.github.com/repos/emberjs/data/issues/4246"},"comments":{"href":"https://api.github.com/repos/emberjs/data/issues/4246/comments"},"review_comments":{"href":"https://api.github.com/repos/emberjs/data/pulls/4246/comments"},"review_comment":{"href":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emberjs/data/pulls/4246/commits"},"statuses":{"href":"https://api.github.com/repos/emberjs/data/statuses/17764491409bb6b5fdebdc2db94ba9e40ea99796"}}}}