{"action":"created","comment":{"url":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/comments/28648069","id":28648069,"diff_hunk":"@@ -0,0 +1,166 @@\n+# Use this setup block to configure all options available in SimpleForm.\n+SimpleForm.setup do |config|\n+  # Wrappers are used by the form builder to generate a\n+  # complete input. You can remove any component from the\n+  # wrapper, change the order or even add your own to the\n+  # stack. The options given below are used to wrap the\n+  # whole input.\n+  config.wrappers :default, class: :input,\n+    hint_class: :field_with_hint, error_class: :field_with_errors do |b|\n+    ## Extensions enabled by default\n+    # Any of these extensions can be disabled for a\n+    # given input by passing: `f.input EXTENSION_NAME => false`.\n+    # You can make any of these extensions optional by\n+    # renaming `b.use` to `b.optional`.\n+\n+    # Determines whether to use HTML5 (:email, :url, ...)\n+    # and required attributes\n+    b.use :html5\n+\n+    # Calculates placeholders automatically from I18n\n+    # You can also pass a string as f.input placeholder: \"Placeholder\"\n+    b.use :placeholder\n+\n+    ## Optional extensions\n+    # They are disabled unless you pass `f.input EXTENSION_NAME => true`\n+    # to the input. If so, they will retrieve the values from the model\n+    # if any exists. If you want to enable any of those\n+    # extensions by default, you can change `b.optional` to `b.use`.\n+\n+    # Calculates maxlength from length validations for string inputs\n+    b.optional :maxlength\n+\n+    # Calculates pattern from format validations for string inputs\n+    b.optional :pattern\n+\n+    # Calculates min and max from length validations for numeric inputs\n+    b.optional :min_max\n+\n+    # Calculates readonly automatically from readonly attributes\n+    b.optional :readonly\n+\n+    ## Inputs\n+    b.use :label_input\n+    b.use :hint,  wrap_with: { tag: :span, class: :hint }\n+    b.use :error, wrap_with: { tag: :span, class: :error }\n+\n+    ## full_messages_for\n+    # If you want to display the full error message for the attribute, you can\n+    # use the component :full_error, like:\n+    #\n+    # b.use :full_error, wrap_with: { tag: :span, class: :error }\n+  end\n+\n+  # The default wrapper to be used by the FormBuilder.\n+  config.default_wrapper = :default\n+\n+  # Define the way to render check boxes / radio buttons with labels.\n+  # Defaults to :nested for bootstrap config.\n+  #   inline: input + label\n+  #   nested: label > input\n+  config.boolean_style = :nested\n+\n+  # Default class for buttons\n+  config.button_class = 'btn'\n+\n+  # Method used to tidy up errors. Specify any Rails Array method.\n+  # :first lists the first message for each field.\n+  # Use :to_sentence to list all errors for each field.\n+  # config.error_method = :first\n+\n+  # Default tag used for error notification helper.\n+  config.error_notification_tag = :div\n+\n+  # CSS class to add for error notification helper.\n+  config.error_notification_class = 'error_notification'\n+\n+  # ID to add for error notification helper.\n+  # config.error_notification_id = nil\n+\n+  # Series of attempts to detect a default label method for collection.\n+  # config.collection_label_methods = [ :to_label, :name, :title, :to_s ]\n+\n+  # Series of attempts to detect a default value method for collection.\n+  # config.collection_value_methods = [ :id, :to_s ]\n+\n+  # You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.\n+  # config.collection_wrapper_tag = nil\n+\n+  # You can define the class to use on all collection wrappers. Defaulting to none.\n+  # config.collection_wrapper_class = nil\n+\n+  # You can wrap each item in a collection of radio/check boxes with a tag,\n+  # defaulting to :span. Please note that when using :boolean_style = :nested,\n+  # SimpleForm will force this option to be a label.\n+  # config.item_wrapper_tag = :span\n+\n+  # You can define a class to use in all item wrappers. Defaulting to none.\n+  # config.item_wrapper_class = nil\n+\n+  # How the label text should be generated altogether with the required text.\n+  # config.label_text = lambda { |label, required, explicit_label| \"#{required} #{label}\" }","path":"config/initializers/simple_form.rb","position":101,"original_position":101,"commit_id":"2a065fdb54b77ae4e74f246897baebfc771ba84a","original_commit_id":"2a065fdb54b77ae4e74f246897baebfc771ba84a","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. [91/80]","created_at":"2015-04-18T22:24:35Z","updated_at":"2015-04-18T22:24:35Z","html_url":"https://github.com/andrei-sheina/flashcards/pull/4#discussion_r28648069","pull_request_url":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/comments/28648069"},"html":{"href":"https://github.com/andrei-sheina/flashcards/pull/4#discussion_r28648069"},"pull_request":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/4","id":33609083,"html_url":"https://github.com/andrei-sheina/flashcards/pull/4","diff_url":"https://github.com/andrei-sheina/flashcards/pull/4.diff","patch_url":"https://github.com/andrei-sheina/flashcards/pull/4.patch","issue_url":"https://api.github.com/repos/andrei-sheina/flashcards/issues/4","number":4,"state":"open","locked":false,"title":"Task3","user":{"login":"andrei-sheina","id":11193254,"avatar_url":"https://avatars.githubusercontent.com/u/11193254?v=3","gravatar_id":"","url":"https://api.github.com/users/andrei-sheina","html_url":"https://github.com/andrei-sheina","followers_url":"https://api.github.com/users/andrei-sheina/followers","following_url":"https://api.github.com/users/andrei-sheina/following{/other_user}","gists_url":"https://api.github.com/users/andrei-sheina/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-sheina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-sheina/subscriptions","organizations_url":"https://api.github.com/users/andrei-sheina/orgs","repos_url":"https://api.github.com/users/andrei-sheina/repos","events_url":"https://api.github.com/users/andrei-sheina/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-sheina/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-18T21:28:09Z","updated_at":"2015-04-18T22:24:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"050110fe5278840b1a79d8ab53d9bff965e7ad5f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/4/commits","review_comments_url":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/4/comments","review_comment_url":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrei-sheina/flashcards/issues/4/comments","statuses_url":"https://api.github.com/repos/andrei-sheina/flashcards/statuses/2a065fdb54b77ae4e74f246897baebfc771ba84a","head":{"label":"andrei-sheina:task3","ref":"task3","sha":"2a065fdb54b77ae4e74f246897baebfc771ba84a","user":{"login":"andrei-sheina","id":11193254,"avatar_url":"https://avatars.githubusercontent.com/u/11193254?v=3","gravatar_id":"","url":"https://api.github.com/users/andrei-sheina","html_url":"https://github.com/andrei-sheina","followers_url":"https://api.github.com/users/andrei-sheina/followers","following_url":"https://api.github.com/users/andrei-sheina/following{/other_user}","gists_url":"https://api.github.com/users/andrei-sheina/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-sheina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-sheina/subscriptions","organizations_url":"https://api.github.com/users/andrei-sheina/orgs","repos_url":"https://api.github.com/users/andrei-sheina/repos","events_url":"https://api.github.com/users/andrei-sheina/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-sheina/received_events","type":"User","site_admin":false},"repo":{"id":34069529,"name":"flashcards","full_name":"andrei-sheina/flashcards","owner":{"login":"andrei-sheina","id":11193254,"avatar_url":"https://avatars.githubusercontent.com/u/11193254?v=3","gravatar_id":"","url":"https://api.github.com/users/andrei-sheina","html_url":"https://github.com/andrei-sheina","followers_url":"https://api.github.com/users/andrei-sheina/followers","following_url":"https://api.github.com/users/andrei-sheina/following{/other_user}","gists_url":"https://api.github.com/users/andrei-sheina/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-sheina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-sheina/subscriptions","organizations_url":"https://api.github.com/users/andrei-sheina/orgs","repos_url":"https://api.github.com/users/andrei-sheina/repos","events_url":"https://api.github.com/users/andrei-sheina/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-sheina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrei-sheina/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/andrei-sheina/flashcards","forks_url":"https://api.github.com/repos/andrei-sheina/flashcards/forks","keys_url":"https://api.github.com/repos/andrei-sheina/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrei-sheina/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrei-sheina/flashcards/teams","hooks_url":"https://api.github.com/repos/andrei-sheina/flashcards/hooks","issue_events_url":"https://api.github.com/repos/andrei-sheina/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/andrei-sheina/flashcards/events","assignees_url":"https://api.github.com/repos/andrei-sheina/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/andrei-sheina/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/andrei-sheina/flashcards/tags","blobs_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrei-sheina/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/andrei-sheina/flashcards/languages","stargazers_url":"https://api.github.com/repos/andrei-sheina/flashcards/stargazers","contributors_url":"https://api.github.com/repos/andrei-sheina/flashcards/contributors","subscribers_url":"https://api.github.com/repos/andrei-sheina/flashcards/subscribers","subscription_url":"https://api.github.com/repos/andrei-sheina/flashcards/subscription","commits_url":"https://api.github.com/repos/andrei-sheina/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrei-sheina/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrei-sheina/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrei-sheina/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/andrei-sheina/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrei-sheina/flashcards/merges","archive_url":"https://api.github.com/repos/andrei-sheina/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrei-sheina/flashcards/downloads","issues_url":"https://api.github.com/repos/andrei-sheina/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/andrei-sheina/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/andrei-sheina/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/andrei-sheina/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrei-sheina/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/andrei-sheina/flashcards/releases{/id}","created_at":"2015-04-16T17:17:16Z","updated_at":"2015-04-17T18:18:33Z","pushed_at":"2015-04-18T22:24:30Z","git_url":"git://github.com/andrei-sheina/flashcards.git","ssh_url":"git@github.com:andrei-sheina/flashcards.git","clone_url":"https://github.com/andrei-sheina/flashcards.git","svn_url":"https://github.com/andrei-sheina/flashcards","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"andrei-sheina:master","ref":"master","sha":"a52f996c9d4575ad6f2546a9e090649eb0178a4b","user":{"login":"andrei-sheina","id":11193254,"avatar_url":"https://avatars.githubusercontent.com/u/11193254?v=3","gravatar_id":"","url":"https://api.github.com/users/andrei-sheina","html_url":"https://github.com/andrei-sheina","followers_url":"https://api.github.com/users/andrei-sheina/followers","following_url":"https://api.github.com/users/andrei-sheina/following{/other_user}","gists_url":"https://api.github.com/users/andrei-sheina/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-sheina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-sheina/subscriptions","organizations_url":"https://api.github.com/users/andrei-sheina/orgs","repos_url":"https://api.github.com/users/andrei-sheina/repos","events_url":"https://api.github.com/users/andrei-sheina/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-sheina/received_events","type":"User","site_admin":false},"repo":{"id":34069529,"name":"flashcards","full_name":"andrei-sheina/flashcards","owner":{"login":"andrei-sheina","id":11193254,"avatar_url":"https://avatars.githubusercontent.com/u/11193254?v=3","gravatar_id":"","url":"https://api.github.com/users/andrei-sheina","html_url":"https://github.com/andrei-sheina","followers_url":"https://api.github.com/users/andrei-sheina/followers","following_url":"https://api.github.com/users/andrei-sheina/following{/other_user}","gists_url":"https://api.github.com/users/andrei-sheina/gists{/gist_id}","starred_url":"https://api.github.com/users/andrei-sheina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrei-sheina/subscriptions","organizations_url":"https://api.github.com/users/andrei-sheina/orgs","repos_url":"https://api.github.com/users/andrei-sheina/repos","events_url":"https://api.github.com/users/andrei-sheina/events{/privacy}","received_events_url":"https://api.github.com/users/andrei-sheina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrei-sheina/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/andrei-sheina/flashcards","forks_url":"https://api.github.com/repos/andrei-sheina/flashcards/forks","keys_url":"https://api.github.com/repos/andrei-sheina/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrei-sheina/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrei-sheina/flashcards/teams","hooks_url":"https://api.github.com/repos/andrei-sheina/flashcards/hooks","issue_events_url":"https://api.github.com/repos/andrei-sheina/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/andrei-sheina/flashcards/events","assignees_url":"https://api.github.com/repos/andrei-sheina/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/andrei-sheina/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/andrei-sheina/flashcards/tags","blobs_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrei-sheina/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/andrei-sheina/flashcards/languages","stargazers_url":"https://api.github.com/repos/andrei-sheina/flashcards/stargazers","contributors_url":"https://api.github.com/repos/andrei-sheina/flashcards/contributors","subscribers_url":"https://api.github.com/repos/andrei-sheina/flashcards/subscribers","subscription_url":"https://api.github.com/repos/andrei-sheina/flashcards/subscription","commits_url":"https://api.github.com/repos/andrei-sheina/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrei-sheina/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrei-sheina/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrei-sheina/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrei-sheina/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/andrei-sheina/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrei-sheina/flashcards/merges","archive_url":"https://api.github.com/repos/andrei-sheina/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrei-sheina/flashcards/downloads","issues_url":"https://api.github.com/repos/andrei-sheina/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/andrei-sheina/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/andrei-sheina/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/andrei-sheina/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrei-sheina/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/andrei-sheina/flashcards/releases{/id}","created_at":"2015-04-16T17:17:16Z","updated_at":"2015-04-17T18:18:33Z","pushed_at":"2015-04-18T22:24:30Z","git_url":"git://github.com/andrei-sheina/flashcards.git","ssh_url":"git@github.com:andrei-sheina/flashcards.git","clone_url":"https://github.com/andrei-sheina/flashcards.git","svn_url":"https://github.com/andrei-sheina/flashcards","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/4"},"html":{"href":"https://github.com/andrei-sheina/flashcards/pull/4"},"issue":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/issues/4"},"comments":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/andrei-sheina/flashcards/statuses/2a065fdb54b77ae4e74f246897baebfc771ba84a"}}}}