{"action":"created","comment":{"url":"https://api.github.com/repos/ulmic/ulmicru/pulls/comments/26334471","id":26334471,"diff_hunk":"@@ -44,6 +44,17 @@ def auth_path(provider)\n   def social_network_localize(provider)\n     I18n.t(\"social_networks.#{provider}\")\n   end\n+  \n+  def flash_show_errors\n+    tags = \"\"\n+    if flash[:errors].present?\n+      flash[:errors].each do |attr, val|\n+        translate_path = \"#{flash[:model_name_class]}.human_attribute_name(:#{attr})\"","path":"app/helpers/application_helper.rb","position":9,"original_position":9,"commit_id":"cef8111006c92ebe976ead279a800f93305d003f","original_commit_id":"cef8111006c92ebe976ead279a800f93305d003f","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. [85/80]","created_at":"2015-03-12T19:11:09Z","updated_at":"2015-03-12T19:11:09Z","html_url":"https://github.com/ulmic/ulmicru/pull/4#discussion_r26334471","pull_request_url":"https://api.github.com/repos/ulmic/ulmicru/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/comments/26334471"},"html":{"href":"https://github.com/ulmic/ulmicru/pull/4#discussion_r26334471"},"pull_request":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ulmic/ulmicru/pulls/4","id":31067939,"html_url":"https://github.com/ulmic/ulmicru/pull/4","diff_url":"https://github.com/ulmic/ulmicru/pull/4.diff","patch_url":"https://github.com/ulmic/ulmicru/pull/4.patch","issue_url":"https://api.github.com/repos/ulmic/ulmicru/issues/4","number":4,"state":"open","locked":false,"title":"Feature/news_fixes","user":{"login":"AlisVero","id":4014436,"avatar_url":"https://avatars.githubusercontent.com/u/4014436?v=3","gravatar_id":"","url":"https://api.github.com/users/AlisVero","html_url":"https://github.com/AlisVero","followers_url":"https://api.github.com/users/AlisVero/followers","following_url":"https://api.github.com/users/AlisVero/following{/other_user}","gists_url":"https://api.github.com/users/AlisVero/gists{/gist_id}","starred_url":"https://api.github.com/users/AlisVero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlisVero/subscriptions","organizations_url":"https://api.github.com/users/AlisVero/orgs","repos_url":"https://api.github.com/users/AlisVero/repos","events_url":"https://api.github.com/users/AlisVero/events{/privacy}","received_events_url":"https://api.github.com/users/AlisVero/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-12T19:10:59Z","updated_at":"2015-03-12T19:11:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ulmic/ulmicru/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ulmic/ulmicru/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ulmic/ulmicru/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ulmic/ulmicru/issues/4/comments","statuses_url":"https://api.github.com/repos/ulmic/ulmicru/statuses/cef8111006c92ebe976ead279a800f93305d003f","head":{"label":"ulmic:feature/news_fixes","ref":"feature/news_fixes","sha":"cef8111006c92ebe976ead279a800f93305d003f","user":{"login":"ulmic","id":2800061,"avatar_url":"https://avatars.githubusercontent.com/u/2800061?v=3","gravatar_id":"","url":"https://api.github.com/users/ulmic","html_url":"https://github.com/ulmic","followers_url":"https://api.github.com/users/ulmic/followers","following_url":"https://api.github.com/users/ulmic/following{/other_user}","gists_url":"https://api.github.com/users/ulmic/gists{/gist_id}","starred_url":"https://api.github.com/users/ulmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulmic/subscriptions","organizations_url":"https://api.github.com/users/ulmic/orgs","repos_url":"https://api.github.com/users/ulmic/repos","events_url":"https://api.github.com/users/ulmic/events{/privacy}","received_events_url":"https://api.github.com/users/ulmic/received_events","type":"Organization","site_admin":false},"repo":{"id":30501286,"name":"ulmicru","full_name":"ulmic/ulmicru","owner":{"login":"ulmic","id":2800061,"avatar_url":"https://avatars.githubusercontent.com/u/2800061?v=3","gravatar_id":"","url":"https://api.github.com/users/ulmic","html_url":"https://github.com/ulmic","followers_url":"https://api.github.com/users/ulmic/followers","following_url":"https://api.github.com/users/ulmic/following{/other_user}","gists_url":"https://api.github.com/users/ulmic/gists{/gist_id}","starred_url":"https://api.github.com/users/ulmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulmic/subscriptions","organizations_url":"https://api.github.com/users/ulmic/orgs","repos_url":"https://api.github.com/users/ulmic/repos","events_url":"https://api.github.com/users/ulmic/events{/privacy}","received_events_url":"https://api.github.com/users/ulmic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ulmic/ulmicru","description":"Сайт Молодёжного инициативного центра","fork":false,"url":"https://api.github.com/repos/ulmic/ulmicru","forks_url":"https://api.github.com/repos/ulmic/ulmicru/forks","keys_url":"https://api.github.com/repos/ulmic/ulmicru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ulmic/ulmicru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ulmic/ulmicru/teams","hooks_url":"https://api.github.com/repos/ulmic/ulmicru/hooks","issue_events_url":"https://api.github.com/repos/ulmic/ulmicru/issues/events{/number}","events_url":"https://api.github.com/repos/ulmic/ulmicru/events","assignees_url":"https://api.github.com/repos/ulmic/ulmicru/assignees{/user}","branches_url":"https://api.github.com/repos/ulmic/ulmicru/branches{/branch}","tags_url":"https://api.github.com/repos/ulmic/ulmicru/tags","blobs_url":"https://api.github.com/repos/ulmic/ulmicru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ulmic/ulmicru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ulmic/ulmicru/git/refs{/sha}","trees_url":"https://api.github.com/repos/ulmic/ulmicru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ulmic/ulmicru/statuses/{sha}","languages_url":"https://api.github.com/repos/ulmic/ulmicru/languages","stargazers_url":"https://api.github.com/repos/ulmic/ulmicru/stargazers","contributors_url":"https://api.github.com/repos/ulmic/ulmicru/contributors","subscribers_url":"https://api.github.com/repos/ulmic/ulmicru/subscribers","subscription_url":"https://api.github.com/repos/ulmic/ulmicru/subscription","commits_url":"https://api.github.com/repos/ulmic/ulmicru/commits{/sha}","git_commits_url":"https://api.github.com/repos/ulmic/ulmicru/git/commits{/sha}","comments_url":"https://api.github.com/repos/ulmic/ulmicru/comments{/number}","issue_comment_url":"https://api.github.com/repos/ulmic/ulmicru/issues/comments{/number}","contents_url":"https://api.github.com/repos/ulmic/ulmicru/contents/{+path}","compare_url":"https://api.github.com/repos/ulmic/ulmicru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ulmic/ulmicru/merges","archive_url":"https://api.github.com/repos/ulmic/ulmicru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ulmic/ulmicru/downloads","issues_url":"https://api.github.com/repos/ulmic/ulmicru/issues{/number}","pulls_url":"https://api.github.com/repos/ulmic/ulmicru/pulls{/number}","milestones_url":"https://api.github.com/repos/ulmic/ulmicru/milestones{/number}","notifications_url":"https://api.github.com/repos/ulmic/ulmicru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ulmic/ulmicru/labels{/name}","releases_url":"https://api.github.com/repos/ulmic/ulmicru/releases{/id}","created_at":"2015-02-08T18:44:31Z","updated_at":"2015-03-10T03:14:22Z","pushed_at":"2015-03-12T19:09:38Z","git_url":"git://github.com/ulmic/ulmicru.git","ssh_url":"git@github.com:ulmic/ulmicru.git","clone_url":"https://github.com/ulmic/ulmicru.git","svn_url":"https://github.com/ulmic/ulmicru","homepage":"","size":768,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"base":{"label":"ulmic:develop","ref":"develop","sha":"4dfd04aff7ebdce6324d29723e6dca889f2900bb","user":{"login":"ulmic","id":2800061,"avatar_url":"https://avatars.githubusercontent.com/u/2800061?v=3","gravatar_id":"","url":"https://api.github.com/users/ulmic","html_url":"https://github.com/ulmic","followers_url":"https://api.github.com/users/ulmic/followers","following_url":"https://api.github.com/users/ulmic/following{/other_user}","gists_url":"https://api.github.com/users/ulmic/gists{/gist_id}","starred_url":"https://api.github.com/users/ulmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulmic/subscriptions","organizations_url":"https://api.github.com/users/ulmic/orgs","repos_url":"https://api.github.com/users/ulmic/repos","events_url":"https://api.github.com/users/ulmic/events{/privacy}","received_events_url":"https://api.github.com/users/ulmic/received_events","type":"Organization","site_admin":false},"repo":{"id":30501286,"name":"ulmicru","full_name":"ulmic/ulmicru","owner":{"login":"ulmic","id":2800061,"avatar_url":"https://avatars.githubusercontent.com/u/2800061?v=3","gravatar_id":"","url":"https://api.github.com/users/ulmic","html_url":"https://github.com/ulmic","followers_url":"https://api.github.com/users/ulmic/followers","following_url":"https://api.github.com/users/ulmic/following{/other_user}","gists_url":"https://api.github.com/users/ulmic/gists{/gist_id}","starred_url":"https://api.github.com/users/ulmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulmic/subscriptions","organizations_url":"https://api.github.com/users/ulmic/orgs","repos_url":"https://api.github.com/users/ulmic/repos","events_url":"https://api.github.com/users/ulmic/events{/privacy}","received_events_url":"https://api.github.com/users/ulmic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ulmic/ulmicru","description":"Сайт Молодёжного инициативного центра","fork":false,"url":"https://api.github.com/repos/ulmic/ulmicru","forks_url":"https://api.github.com/repos/ulmic/ulmicru/forks","keys_url":"https://api.github.com/repos/ulmic/ulmicru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ulmic/ulmicru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ulmic/ulmicru/teams","hooks_url":"https://api.github.com/repos/ulmic/ulmicru/hooks","issue_events_url":"https://api.github.com/repos/ulmic/ulmicru/issues/events{/number}","events_url":"https://api.github.com/repos/ulmic/ulmicru/events","assignees_url":"https://api.github.com/repos/ulmic/ulmicru/assignees{/user}","branches_url":"https://api.github.com/repos/ulmic/ulmicru/branches{/branch}","tags_url":"https://api.github.com/repos/ulmic/ulmicru/tags","blobs_url":"https://api.github.com/repos/ulmic/ulmicru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ulmic/ulmicru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ulmic/ulmicru/git/refs{/sha}","trees_url":"https://api.github.com/repos/ulmic/ulmicru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ulmic/ulmicru/statuses/{sha}","languages_url":"https://api.github.com/repos/ulmic/ulmicru/languages","stargazers_url":"https://api.github.com/repos/ulmic/ulmicru/stargazers","contributors_url":"https://api.github.com/repos/ulmic/ulmicru/contributors","subscribers_url":"https://api.github.com/repos/ulmic/ulmicru/subscribers","subscription_url":"https://api.github.com/repos/ulmic/ulmicru/subscription","commits_url":"https://api.github.com/repos/ulmic/ulmicru/commits{/sha}","git_commits_url":"https://api.github.com/repos/ulmic/ulmicru/git/commits{/sha}","comments_url":"https://api.github.com/repos/ulmic/ulmicru/comments{/number}","issue_comment_url":"https://api.github.com/repos/ulmic/ulmicru/issues/comments{/number}","contents_url":"https://api.github.com/repos/ulmic/ulmicru/contents/{+path}","compare_url":"https://api.github.com/repos/ulmic/ulmicru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ulmic/ulmicru/merges","archive_url":"https://api.github.com/repos/ulmic/ulmicru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ulmic/ulmicru/downloads","issues_url":"https://api.github.com/repos/ulmic/ulmicru/issues{/number}","pulls_url":"https://api.github.com/repos/ulmic/ulmicru/pulls{/number}","milestones_url":"https://api.github.com/repos/ulmic/ulmicru/milestones{/number}","notifications_url":"https://api.github.com/repos/ulmic/ulmicru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ulmic/ulmicru/labels{/name}","releases_url":"https://api.github.com/repos/ulmic/ulmicru/releases{/id}","created_at":"2015-02-08T18:44:31Z","updated_at":"2015-03-10T03:14:22Z","pushed_at":"2015-03-12T19:09:38Z","git_url":"git://github.com/ulmic/ulmicru.git","ssh_url":"git@github.com:ulmic/ulmicru.git","clone_url":"https://github.com/ulmic/ulmicru.git","svn_url":"https://github.com/ulmic/ulmicru","homepage":"","size":768,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/4"},"html":{"href":"https://github.com/ulmic/ulmicru/pull/4"},"issue":{"href":"https://api.github.com/repos/ulmic/ulmicru/issues/4"},"comments":{"href":"https://api.github.com/repos/ulmic/ulmicru/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ulmic/ulmicru/statuses/cef8111006c92ebe976ead279a800f93305d003f"}}}}