{"action":"created","comment":{"url":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/comments/229761222","pull_request_review_id":170337370,"id":229761222,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTc2MTIyMg==","diff_hunk":"@@ -199,6 +205,21 @@ def to_s\n \n   private\n \n+  def title_changed?\n+    reload_title","path":"api/app/models/text.rb","position":39,"original_position":39,"commit_id":"910b90d090b8ea654cfe38d48953e71544972324","original_commit_id":"18495f88841bda382eb870dfab35485237325bc6","user":{"login":"SMaxOwok","id":8389445,"node_id":"MDQ6VXNlcjgzODk0NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/8389445?v=4","gravatar_id":"","url":"https://api.github.com/users/SMaxOwok","html_url":"https://github.com/SMaxOwok","followers_url":"https://api.github.com/users/SMaxOwok/followers","following_url":"https://api.github.com/users/SMaxOwok/following{/other_user}","gists_url":"https://api.github.com/users/SMaxOwok/gists{/gist_id}","starred_url":"https://api.github.com/users/SMaxOwok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SMaxOwok/subscriptions","organizations_url":"https://api.github.com/users/SMaxOwok/orgs","repos_url":"https://api.github.com/users/SMaxOwok/repos","events_url":"https://api.github.com/users/SMaxOwok/events{/privacy}","received_events_url":"https://api.github.com/users/SMaxOwok/received_events","type":"User","site_admin":false},"body":"Are there any suggestions on how to do this that doesn't require reloading every time _or_ that can be a little smarter about when to reload?  The `title` method get the value from the main title association, which will have changed during `title=`.  \r\n\r\nRight now, to compare the old value with the current I need to refresh that association.","created_at":"2018-10-31T16:04:51Z","updated_at":"2018-10-31T16:04:51Z","html_url":"https://github.com/ManifoldScholar/manifold/pull/1574#discussion_r229761222","pull_request_url":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/1574","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/comments/229761222"},"html":{"href":"https://github.com/ManifoldScholar/manifold/pull/1574#discussion_r229761222"},"pull_request":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/1574"}}},"pull_request":{"url":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/1574","id":227346115,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MzQ2MTE1","html_url":"https://github.com/ManifoldScholar/manifold/pull/1574","diff_url":"https://github.com/ManifoldScholar/manifold/pull/1574.diff","patch_url":"https://github.com/ManifoldScholar/manifold/pull/1574.patch","issue_url":"https://api.github.com/repos/ManifoldScholar/manifold/issues/1574","number":1574,"state":"open","locked":false,"title":"[B] Allow project and text titles to be formatted","user":{"login":"SMaxOwok","id":8389445,"node_id":"MDQ6VXNlcjgzODk0NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/8389445?v=4","gravatar_id":"","url":"https://api.github.com/users/SMaxOwok","html_url":"https://github.com/SMaxOwok","followers_url":"https://api.github.com/users/SMaxOwok/followers","following_url":"https://api.github.com/users/SMaxOwok/following{/other_user}","gists_url":"https://api.github.com/users/SMaxOwok/gists{/gist_id}","starred_url":"https://api.github.com/users/SMaxOwok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SMaxOwok/subscriptions","organizations_url":"https://api.github.com/users/SMaxOwok/orgs","repos_url":"https://api.github.com/users/SMaxOwok/repos","events_url":"https://api.github.com/users/SMaxOwok/events{/privacy}","received_events_url":"https://api.github.com/users/SMaxOwok/received_events","type":"User","site_admin":false},"body":"Fixes #1563 ","created_at":"2018-10-31T16:02:14Z","updated_at":"2018-10-31T16:04:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a671ba1aa2127ddf69aca6473b7f3a09a85fde9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":552751635,"node_id":"MDU6TGFiZWw1NTI3NTE2MzU=","url":"https://api.github.com/repos/ManifoldScholar/manifold/labels/needs%20review","name":"needs review","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/1574/commits","review_comments_url":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/1574/comments","review_comment_url":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ManifoldScholar/manifold/issues/1574/comments","statuses_url":"https://api.github.com/repos/ManifoldScholar/manifold/statuses/910b90d090b8ea654cfe38d48953e71544972324","head":{"label":"ManifoldScholar:mo/1563","ref":"mo/1563","sha":"910b90d090b8ea654cfe38d48953e71544972324","user":{"login":"ManifoldScholar","id":14204570,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjA0NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/14204570?v=4","gravatar_id":"","url":"https://api.github.com/users/ManifoldScholar","html_url":"https://github.com/ManifoldScholar","followers_url":"https://api.github.com/users/ManifoldScholar/followers","following_url":"https://api.github.com/users/ManifoldScholar/following{/other_user}","gists_url":"https://api.github.com/users/ManifoldScholar/gists{/gist_id}","starred_url":"https://api.github.com/users/ManifoldScholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManifoldScholar/subscriptions","organizations_url":"https://api.github.com/users/ManifoldScholar/orgs","repos_url":"https://api.github.com/users/ManifoldScholar/repos","events_url":"https://api.github.com/users/ManifoldScholar/events{/privacy}","received_events_url":"https://api.github.com/users/ManifoldScholar/received_events","type":"Organization","site_admin":false},"repo":{"id":45189552,"node_id":"MDEwOlJlcG9zaXRvcnk0NTE4OTU1Mg==","name":"manifold","full_name":"ManifoldScholar/manifold","private":false,"owner":{"login":"ManifoldScholar","id":14204570,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjA0NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/14204570?v=4","gravatar_id":"","url":"https://api.github.com/users/ManifoldScholar","html_url":"https://github.com/ManifoldScholar","followers_url":"https://api.github.com/users/ManifoldScholar/followers","following_url":"https://api.github.com/users/ManifoldScholar/following{/other_user}","gists_url":"https://api.github.com/users/ManifoldScholar/gists{/gist_id}","starred_url":"https://api.github.com/users/ManifoldScholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManifoldScholar/subscriptions","organizations_url":"https://api.github.com/users/ManifoldScholar/orgs","repos_url":"https://api.github.com/users/ManifoldScholar/repos","events_url":"https://api.github.com/users/ManifoldScholar/events{/privacy}","received_events_url":"https://api.github.com/users/ManifoldScholar/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ManifoldScholar/manifold","description":"Transforming scholarly publications into living digital works.","fork":false,"url":"https://api.github.com/repos/ManifoldScholar/manifold","forks_url":"https://api.github.com/repos/ManifoldScholar/manifold/forks","keys_url":"https://api.github.com/repos/ManifoldScholar/manifold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManifoldScholar/manifold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManifoldScholar/manifold/teams","hooks_url":"https://api.github.com/repos/ManifoldScholar/manifold/hooks","issue_events_url":"https://api.github.com/repos/ManifoldScholar/manifold/issues/events{/number}","events_url":"https://api.github.com/repos/ManifoldScholar/manifold/events","assignees_url":"https://api.github.com/repos/ManifoldScholar/manifold/assignees{/user}","branches_url":"https://api.github.com/repos/ManifoldScholar/manifold/branches{/branch}","tags_url":"https://api.github.com/repos/ManifoldScholar/manifold/tags","blobs_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManifoldScholar/manifold/statuses/{sha}","languages_url":"https://api.github.com/repos/ManifoldScholar/manifold/languages","stargazers_url":"https://api.github.com/repos/ManifoldScholar/manifold/stargazers","contributors_url":"https://api.github.com/repos/ManifoldScholar/manifold/contributors","subscribers_url":"https://api.github.com/repos/ManifoldScholar/manifold/subscribers","subscription_url":"https://api.github.com/repos/ManifoldScholar/manifold/subscription","commits_url":"https://api.github.com/repos/ManifoldScholar/manifold/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManifoldScholar/manifold/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManifoldScholar/manifold/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManifoldScholar/manifold/contents/{+path}","compare_url":"https://api.github.com/repos/ManifoldScholar/manifold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManifoldScholar/manifold/merges","archive_url":"https://api.github.com/repos/ManifoldScholar/manifold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManifoldScholar/manifold/downloads","issues_url":"https://api.github.com/repos/ManifoldScholar/manifold/issues{/number}","pulls_url":"https://api.github.com/repos/ManifoldScholar/manifold/pulls{/number}","milestones_url":"https://api.github.com/repos/ManifoldScholar/manifold/milestones{/number}","notifications_url":"https://api.github.com/repos/ManifoldScholar/manifold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManifoldScholar/manifold/labels{/name}","releases_url":"https://api.github.com/repos/ManifoldScholar/manifold/releases{/id}","deployments_url":"https://api.github.com/repos/ManifoldScholar/manifold/deployments","created_at":"2015-10-29T14:47:07Z","updated_at":"2018-10-31T15:55:16Z","pushed_at":"2018-10-31T16:02:15Z","git_url":"git://github.com/ManifoldScholar/manifold.git","ssh_url":"git@github.com:ManifoldScholar/manifold.git","clone_url":"https://github.com/ManifoldScholar/manifold.git","svn_url":"https://github.com/ManifoldScholar/manifold","homepage":"http://manifoldapp.org","size":87238,"stargazers_count":105,"watchers_count":105,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":11,"open_issues":57,"watchers":105,"default_branch":"master"}},"base":{"label":"ManifoldScholar:master","ref":"master","sha":"50516bf78efa56407685cce05a14c581c91dfbc3","user":{"login":"ManifoldScholar","id":14204570,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjA0NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/14204570?v=4","gravatar_id":"","url":"https://api.github.com/users/ManifoldScholar","html_url":"https://github.com/ManifoldScholar","followers_url":"https://api.github.com/users/ManifoldScholar/followers","following_url":"https://api.github.com/users/ManifoldScholar/following{/other_user}","gists_url":"https://api.github.com/users/ManifoldScholar/gists{/gist_id}","starred_url":"https://api.github.com/users/ManifoldScholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManifoldScholar/subscriptions","organizations_url":"https://api.github.com/users/ManifoldScholar/orgs","repos_url":"https://api.github.com/users/ManifoldScholar/repos","events_url":"https://api.github.com/users/ManifoldScholar/events{/privacy}","received_events_url":"https://api.github.com/users/ManifoldScholar/received_events","type":"Organization","site_admin":false},"repo":{"id":45189552,"node_id":"MDEwOlJlcG9zaXRvcnk0NTE4OTU1Mg==","name":"manifold","full_name":"ManifoldScholar/manifold","private":false,"owner":{"login":"ManifoldScholar","id":14204570,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MjA0NTcw","avatar_url":"https://avatars1.githubusercontent.com/u/14204570?v=4","gravatar_id":"","url":"https://api.github.com/users/ManifoldScholar","html_url":"https://github.com/ManifoldScholar","followers_url":"https://api.github.com/users/ManifoldScholar/followers","following_url":"https://api.github.com/users/ManifoldScholar/following{/other_user}","gists_url":"https://api.github.com/users/ManifoldScholar/gists{/gist_id}","starred_url":"https://api.github.com/users/ManifoldScholar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManifoldScholar/subscriptions","organizations_url":"https://api.github.com/users/ManifoldScholar/orgs","repos_url":"https://api.github.com/users/ManifoldScholar/repos","events_url":"https://api.github.com/users/ManifoldScholar/events{/privacy}","received_events_url":"https://api.github.com/users/ManifoldScholar/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ManifoldScholar/manifold","description":"Transforming scholarly publications into living digital works.","fork":false,"url":"https://api.github.com/repos/ManifoldScholar/manifold","forks_url":"https://api.github.com/repos/ManifoldScholar/manifold/forks","keys_url":"https://api.github.com/repos/ManifoldScholar/manifold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ManifoldScholar/manifold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ManifoldScholar/manifold/teams","hooks_url":"https://api.github.com/repos/ManifoldScholar/manifold/hooks","issue_events_url":"https://api.github.com/repos/ManifoldScholar/manifold/issues/events{/number}","events_url":"https://api.github.com/repos/ManifoldScholar/manifold/events","assignees_url":"https://api.github.com/repos/ManifoldScholar/manifold/assignees{/user}","branches_url":"https://api.github.com/repos/ManifoldScholar/manifold/branches{/branch}","tags_url":"https://api.github.com/repos/ManifoldScholar/manifold/tags","blobs_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/refs{/sha}","trees_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ManifoldScholar/manifold/statuses/{sha}","languages_url":"https://api.github.com/repos/ManifoldScholar/manifold/languages","stargazers_url":"https://api.github.com/repos/ManifoldScholar/manifold/stargazers","contributors_url":"https://api.github.com/repos/ManifoldScholar/manifold/contributors","subscribers_url":"https://api.github.com/repos/ManifoldScholar/manifold/subscribers","subscription_url":"https://api.github.com/repos/ManifoldScholar/manifold/subscription","commits_url":"https://api.github.com/repos/ManifoldScholar/manifold/commits{/sha}","git_commits_url":"https://api.github.com/repos/ManifoldScholar/manifold/git/commits{/sha}","comments_url":"https://api.github.com/repos/ManifoldScholar/manifold/comments{/number}","issue_comment_url":"https://api.github.com/repos/ManifoldScholar/manifold/issues/comments{/number}","contents_url":"https://api.github.com/repos/ManifoldScholar/manifold/contents/{+path}","compare_url":"https://api.github.com/repos/ManifoldScholar/manifold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ManifoldScholar/manifold/merges","archive_url":"https://api.github.com/repos/ManifoldScholar/manifold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ManifoldScholar/manifold/downloads","issues_url":"https://api.github.com/repos/ManifoldScholar/manifold/issues{/number}","pulls_url":"https://api.github.com/repos/ManifoldScholar/manifold/pulls{/number}","milestones_url":"https://api.github.com/repos/ManifoldScholar/manifold/milestones{/number}","notifications_url":"https://api.github.com/repos/ManifoldScholar/manifold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ManifoldScholar/manifold/labels{/name}","releases_url":"https://api.github.com/repos/ManifoldScholar/manifold/releases{/id}","deployments_url":"https://api.github.com/repos/ManifoldScholar/manifold/deployments","created_at":"2015-10-29T14:47:07Z","updated_at":"2018-10-31T15:55:16Z","pushed_at":"2018-10-31T16:02:15Z","git_url":"git://github.com/ManifoldScholar/manifold.git","ssh_url":"git@github.com:ManifoldScholar/manifold.git","clone_url":"https://github.com/ManifoldScholar/manifold.git","svn_url":"https://github.com/ManifoldScholar/manifold","homepage":"http://manifoldapp.org","size":87238,"stargazers_count":105,"watchers_count":105,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":11,"open_issues":57,"watchers":105,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/1574"},"html":{"href":"https://github.com/ManifoldScholar/manifold/pull/1574"},"issue":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/issues/1574"},"comments":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/issues/1574/comments"},"review_comments":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/1574/comments"},"review_comment":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/pulls/1574/commits"},"statuses":{"href":"https://api.github.com/repos/ManifoldScholar/manifold/statuses/910b90d090b8ea654cfe38d48953e71544972324"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"SMaxOwok"}}