{"action":"created","issue":{"url":"https://api.github.com/repos/sherigr/ForeScore/issues/3","labels_url":"https://api.github.com/repos/sherigr/ForeScore/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/sherigr/ForeScore/issues/3/comments","events_url":"https://api.github.com/repos/sherigr/ForeScore/issues/3/events","html_url":"https://github.com/sherigr/ForeScore/issues/3","id":55624259,"number":3,"title":"Scorecard not working after adding total_score","user":{"login":"sherigr","id":8710926,"avatar_url":"https://avatars.githubusercontent.com/u/8710926?v=3","gravatar_id":"","url":"https://api.github.com/users/sherigr","html_url":"https://github.com/sherigr","followers_url":"https://api.github.com/users/sherigr/followers","following_url":"https://api.github.com/users/sherigr/following{/other_user}","gists_url":"https://api.github.com/users/sherigr/gists{/gist_id}","starred_url":"https://api.github.com/users/sherigr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherigr/subscriptions","organizations_url":"https://api.github.com/users/sherigr/orgs","repos_url":"https://api.github.com/users/sherigr/repos","events_url":"https://api.github.com/users/sherigr/events{/privacy}","received_events_url":"https://api.github.com/users/sherigr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":45,"created_at":"2015-01-27T14:30:38Z","updated_at":"2015-01-27T17:34:56Z","closed_at":null,"body":"@harimohanraj89 @htella @DrRobotmck \r\n\r\nThe addition of total_score method in model, controller and editing views/form, new & show worked (in the console & on website scorecard) when I first made the changes last night. After I added the similar changes for Par scorecard new, edit, show all broke. Now much of what was working with scorecard is not. \r\n\r\nCan use some assistance to help understand why it's not working. Currently getting error \"+\"  not defined"},"comment":{"url":"https://api.github.com/repos/sherigr/ForeScore/issues/comments/71690621","html_url":"https://github.com/sherigr/ForeScore/issues/3#issuecomment-71690621","issue_url":"https://api.github.com/repos/sherigr/ForeScore/issues/3","id":71690621,"user":{"login":"sherigr","id":8710926,"avatar_url":"https://avatars.githubusercontent.com/u/8710926?v=3","gravatar_id":"","url":"https://api.github.com/users/sherigr","html_url":"https://github.com/sherigr","followers_url":"https://api.github.com/users/sherigr/followers","following_url":"https://api.github.com/users/sherigr/following{/other_user}","gists_url":"https://api.github.com/users/sherigr/gists{/gist_id}","starred_url":"https://api.github.com/users/sherigr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherigr/subscriptions","organizations_url":"https://api.github.com/users/sherigr/orgs","repos_url":"https://api.github.com/users/sherigr/repos","events_url":"https://api.github.com/users/sherigr/events{/privacy}","received_events_url":"https://api.github.com/users/sherigr/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T17:34:56Z","updated_at":"2015-01-27T17:34:56Z","body":"Creating new scorecard via the website (/scorecards/new). Once I hit submit, it’s showing the info but not on the form as it had been (or how I’d like it to appear). Also, it’s not totaling score or par, those are showing as nil.\r\n\r\nIf I go to that scorecard: /scorecard/22/edit and then hit update form it does take me back to the scorecard form so at least that tells me the other kept breaking b/c of nil. \r\n\r\nHowever, it’s now showing the values of the holes/pars in the form BUT also in a line below the form, which is actually where the total score & par is appearing.\r\n\r\nScorecard\r\n1/27/15\r\nmorning joe\r\n\r\nDate\r\n\r\nCourse played\r\n\r\nHole 1\r\n\r\nPar 1\r\n\r\nHole 2\r\n\r\nPar 2\r\n\r\nHole 3\r\n\r\nPar 3\r\n\r\nHole 4\r\n\r\nPar 4\r\n\r\nHole 5\r\n\r\nPar 5\r\n\r\nHole 6\r\n\r\nPar 6\r\n\r\nHole 7\r\n\r\nPar 7\r\n\r\nHole 8\r\n\r\nPar 8\r\n\r\nHole 9\r\n\r\nPar 9\r\n\r\nHole 10\r\n\r\nPar 10\r\n\r\nHole 11\r\n\r\nPar 11\r\n\r\nHole 12\r\n\r\nPar 12\r\n\r\nHole 13\r\n\r\nPar 13\r\n\r\nHole 14\r\n\r\nPar 14\r\n\r\nHole 15\r\n\r\nPar 15\r\n\r\nHole 16\r\n\r\nPar 16\r\n\r\nHole 17\r\n\r\nPar 17\r\n\r\nHole 18\r\n\r\nPar 18\r\n\r\n\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n5\r\n4\r\n90\r\n72\r\n\r\nEdit Back Home\r\n\r\n\r\n\r\n\r\n\r\n\r\nOn Jan 27, 2015, at 12:26 PM, Harish Tella <notifications@github.com> wrote:\r\n\r\n> can you confirm that this Scorecard has values for all the holes in the rails console? Grab the same Scorecard by using the id.\r\n> \r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> "}}