{"action":"created","comment":{"url":"https://api.github.com/repos/andela/eventx/pulls/comments/45112586","id":45112586,"diff_hunk":"@@ -1,16 +1,16 @@\n module BookingsHelper\n   def link_to_remove_fields(name, f, cssClass= nil)\n     fields = f.hidden_field(:_destroy)\n-    fields += link_to name, '#', onclick: \"remove_fields(this)\", class: cssClass\n+    fields += link_to name, \"#\", onclick: \"remove_fields(this)\", class: cssClass\n     fields\n   end\n \n   def link_to_add_fields(name, f, model_class, association, cssClass, title)\n     new_object = f.object.class.reflect_on_association(association).klass.new\n     fields = f.fields_for(association, new_object, child_index: \"new_#{association}\") do |builder|\n-      render( model_class + '/' + association.to_s.singularize + '_fields', f: builder)\n+      render( model_class + \"/\" + association.to_s.singularize + \"_fields\", f: builder)\n     end\n-    link_to name, '#' , onclick: h(\"add_fields(this, '#{association}', \\\"#{escape_javascript(fields)}\\\")\"), class: cssClass, title: title\n+    link_to name, \"#\" , onclick: h(\"add_fields(this, '#{association}', \\\"#{escape_javascript(fields)}\\\")\"), class: cssClass, title: title","path":"app/helpers/bookings_helper.rb","position":16,"original_position":16,"commit_id":"39a7b6ca37dd1aa4bd6b4e1d0c47fe9cd93e70b6","original_commit_id":"39a7b6ca37dd1aa4bd6b4e1d0c47fe9cd93e70b6","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [137/80]<br>Space found before comma.","created_at":"2015-11-17T20:03:33Z","updated_at":"2015-11-17T20:03:33Z","html_url":"https://github.com/andela/eventx/pull/89#discussion_r45112586","pull_request_url":"https://api.github.com/repos/andela/eventx/pulls/89","_links":{"self":{"href":"https://api.github.com/repos/andela/eventx/pulls/comments/45112586"},"html":{"href":"https://github.com/andela/eventx/pull/89#discussion_r45112586"},"pull_request":{"href":"https://api.github.com/repos/andela/eventx/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/andela/eventx/pulls/89","id":50988233,"html_url":"https://github.com/andela/eventx/pull/89","diff_url":"https://github.com/andela/eventx/pull/89.diff","patch_url":"https://github.com/andela/eventx/pull/89.patch","issue_url":"https://api.github.com/repos/andela/eventx/issues/89","number":89,"state":"open","locked":false,"title":"Feature/social subdomain","user":{"login":"andela-iokonkwo","id":7690338,"avatar_url":"https://avatars.githubusercontent.com/u/7690338?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-iokonkwo","html_url":"https://github.com/andela-iokonkwo","followers_url":"https://api.github.com/users/andela-iokonkwo/followers","following_url":"https://api.github.com/users/andela-iokonkwo/following{/other_user}","gists_url":"https://api.github.com/users/andela-iokonkwo/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-iokonkwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-iokonkwo/subscriptions","organizations_url":"https://api.github.com/users/andela-iokonkwo/orgs","repos_url":"https://api.github.com/users/andela-iokonkwo/repos","events_url":"https://api.github.com/users/andela-iokonkwo/events{/privacy}","received_events_url":"https://api.github.com/users/andela-iokonkwo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-17T18:56:53Z","updated_at":"2015-11-17T20:03:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb1b5ebad995835c823b9897e74186316429b8ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/eventx/pulls/89/commits","review_comments_url":"https://api.github.com/repos/andela/eventx/pulls/89/comments","review_comment_url":"https://api.github.com/repos/andela/eventx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/eventx/issues/89/comments","statuses_url":"https://api.github.com/repos/andela/eventx/statuses/39a7b6ca37dd1aa4bd6b4e1d0c47fe9cd93e70b6","head":{"label":"andela:feature/social_subdomain","ref":"feature/social_subdomain","sha":"39a7b6ca37dd1aa4bd6b4e1d0c47fe9cd93e70b6","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":39064541,"name":"eventx","full_name":"andela/eventx","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/eventx","description":"","fork":false,"url":"https://api.github.com/repos/andela/eventx","forks_url":"https://api.github.com/repos/andela/eventx/forks","keys_url":"https://api.github.com/repos/andela/eventx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/eventx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/eventx/teams","hooks_url":"https://api.github.com/repos/andela/eventx/hooks","issue_events_url":"https://api.github.com/repos/andela/eventx/issues/events{/number}","events_url":"https://api.github.com/repos/andela/eventx/events","assignees_url":"https://api.github.com/repos/andela/eventx/assignees{/user}","branches_url":"https://api.github.com/repos/andela/eventx/branches{/branch}","tags_url":"https://api.github.com/repos/andela/eventx/tags","blobs_url":"https://api.github.com/repos/andela/eventx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/eventx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/eventx/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/eventx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/eventx/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/eventx/languages","stargazers_url":"https://api.github.com/repos/andela/eventx/stargazers","contributors_url":"https://api.github.com/repos/andela/eventx/contributors","subscribers_url":"https://api.github.com/repos/andela/eventx/subscribers","subscription_url":"https://api.github.com/repos/andela/eventx/subscription","commits_url":"https://api.github.com/repos/andela/eventx/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/eventx/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/eventx/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/eventx/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/eventx/contents/{+path}","compare_url":"https://api.github.com/repos/andela/eventx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/eventx/merges","archive_url":"https://api.github.com/repos/andela/eventx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/eventx/downloads","issues_url":"https://api.github.com/repos/andela/eventx/issues{/number}","pulls_url":"https://api.github.com/repos/andela/eventx/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/eventx/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/eventx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/eventx/labels{/name}","releases_url":"https://api.github.com/repos/andela/eventx/releases{/id}","created_at":"2015-07-14T08:57:10Z","updated_at":"2015-09-10T08:39:48Z","pushed_at":"2015-11-17T20:03:17Z","git_url":"git://github.com/andela/eventx.git","ssh_url":"git@github.com:andela/eventx.git","clone_url":"https://github.com/andela/eventx.git","svn_url":"https://github.com/andela/eventx","homepage":null,"size":6852,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:master","ref":"master","sha":"eb2923597c3ccb36deedce501aa0718d0f5305dd","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":39064541,"name":"eventx","full_name":"andela/eventx","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/eventx","description":"","fork":false,"url":"https://api.github.com/repos/andela/eventx","forks_url":"https://api.github.com/repos/andela/eventx/forks","keys_url":"https://api.github.com/repos/andela/eventx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/eventx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/eventx/teams","hooks_url":"https://api.github.com/repos/andela/eventx/hooks","issue_events_url":"https://api.github.com/repos/andela/eventx/issues/events{/number}","events_url":"https://api.github.com/repos/andela/eventx/events","assignees_url":"https://api.github.com/repos/andela/eventx/assignees{/user}","branches_url":"https://api.github.com/repos/andela/eventx/branches{/branch}","tags_url":"https://api.github.com/repos/andela/eventx/tags","blobs_url":"https://api.github.com/repos/andela/eventx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/eventx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/eventx/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/eventx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/eventx/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/eventx/languages","stargazers_url":"https://api.github.com/repos/andela/eventx/stargazers","contributors_url":"https://api.github.com/repos/andela/eventx/contributors","subscribers_url":"https://api.github.com/repos/andela/eventx/subscribers","subscription_url":"https://api.github.com/repos/andela/eventx/subscription","commits_url":"https://api.github.com/repos/andela/eventx/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/eventx/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/eventx/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/eventx/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/eventx/contents/{+path}","compare_url":"https://api.github.com/repos/andela/eventx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/eventx/merges","archive_url":"https://api.github.com/repos/andela/eventx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/eventx/downloads","issues_url":"https://api.github.com/repos/andela/eventx/issues{/number}","pulls_url":"https://api.github.com/repos/andela/eventx/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/eventx/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/eventx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/eventx/labels{/name}","releases_url":"https://api.github.com/repos/andela/eventx/releases{/id}","created_at":"2015-07-14T08:57:10Z","updated_at":"2015-09-10T08:39:48Z","pushed_at":"2015-11-17T20:03:17Z","git_url":"git://github.com/andela/eventx.git","ssh_url":"git@github.com:andela/eventx.git","clone_url":"https://github.com/andela/eventx.git","svn_url":"https://github.com/andela/eventx","homepage":null,"size":6852,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/eventx/pulls/89"},"html":{"href":"https://github.com/andela/eventx/pull/89"},"issue":{"href":"https://api.github.com/repos/andela/eventx/issues/89"},"comments":{"href":"https://api.github.com/repos/andela/eventx/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/eventx/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/eventx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/eventx/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/andela/eventx/statuses/39a7b6ca37dd1aa4bd6b4e1d0c47fe9cd93e70b6"}}}}