{"comment":{"url":"https://api.github.com/repos/TKChattoraj/bloccit/comments/13858660","html_url":"https://github.com/TKChattoraj/bloccit/commit/4672848ef831bc1948375e5f21b426b02327bad8#commitcomment-13858660","id":13858660,"user":{"login":"bjblock","id":1300521,"avatar_url":"https://avatars.githubusercontent.com/u/1300521?v=3","gravatar_id":"","url":"https://api.github.com/users/bjblock","html_url":"https://github.com/bjblock","followers_url":"https://api.github.com/users/bjblock/followers","following_url":"https://api.github.com/users/bjblock/following{/other_user}","gists_url":"https://api.github.com/users/bjblock/gists{/gist_id}","starred_url":"https://api.github.com/users/bjblock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjblock/subscriptions","organizations_url":"https://api.github.com/users/bjblock/orgs","repos_url":"https://api.github.com/users/bjblock/repos","events_url":"https://api.github.com/users/bjblock/events{/privacy}","received_events_url":"https://api.github.com/users/bjblock/received_events","type":"User","site_admin":false},"position":5,"line":5,"path":"app/controllers/sponsored_posts_controller.rb","commit_id":"4672848ef831bc1948375e5f21b426b02327bad8","created_at":"2015-10-19T20:40:50Z","updated_at":"2015-10-19T20:40:50Z","body":"since the @sponsored_post will have to belong to the designated topic, we can write this as:\r\n`@sponsored_post = @topic.sponsored_posts.new`\r\nwhich would initialize the sponsored post as already associated to the topic."}}