{"action":"created","comment":{"url":"https://api.github.com/repos/markmercedes/krudmin/pulls/comments/198948000","pull_request_review_id":132973901,"id":198948000,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODk0ODAwMA==","diff_hunk":"@@ -2,10 +2,16 @@ module Krudmin\n   module Presenters\n     class BelongsToFieldPresenter < BaseFieldPresenter\n       delegate :collection_label_field, :association_name, :association_path, :link_to_path, :humanized_value, :group_method, :group_label_method, to: :field\n-      delegate :input_type, :associated_resource_manager_class, :edit_path, :add_path, to: :field\n+      delegate :input_type, :edit_path, :add_path, to: :field\n \n       alias linkable? association_path\n \n+      def associated_resource_manager_class\n+        field.associated_resource_manager_class\n+      rescue Krudmin::Fields::Associated::UndefinedResourceManagerForAssociation\n+          nil","path":"lib/krudmin/presenters/belongs_to_field_presenter.rb","position":12,"original_position":12,"commit_id":"d45ca802ae7feabad282ff6685d971e6e33a7aa1","original_commit_id":"d45ca802ae7feabad282ff6685d971e6e33a7aa1","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.","created_at":"2018-06-28T18:50:00Z","updated_at":"2018-06-28T18:50:00Z","html_url":"https://github.com/markmercedes/krudmin/pull/147#discussion_r198948000","pull_request_url":"https://api.github.com/repos/markmercedes/krudmin/pulls/147","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/markmercedes/krudmin/pulls/comments/198948000"},"html":{"href":"https://github.com/markmercedes/krudmin/pull/147#discussion_r198948000"},"pull_request":{"href":"https://api.github.com/repos/markmercedes/krudmin/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/markmercedes/krudmin/pulls/147","id":198120156,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MTIwMTU2","html_url":"https://github.com/markmercedes/krudmin/pull/147","diff_url":"https://github.com/markmercedes/krudmin/pull/147.diff","patch_url":"https://github.com/markmercedes/krudmin/pull/147.patch","issue_url":"https://api.github.com/repos/markmercedes/krudmin/issues/147","number":147,"state":"open","locked":false,"title":"Infering association foreing_key and using association_predicate for has_many fields","user":{"login":"nivla","id":2448098,"node_id":"MDQ6VXNlcjI0NDgwOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2448098?v=4","gravatar_id":"","url":"https://api.github.com/users/nivla","html_url":"https://github.com/nivla","followers_url":"https://api.github.com/users/nivla/followers","following_url":"https://api.github.com/users/nivla/following{/other_user}","gists_url":"https://api.github.com/users/nivla/gists{/gist_id}","starred_url":"https://api.github.com/users/nivla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivla/subscriptions","organizations_url":"https://api.github.com/users/nivla/orgs","repos_url":"https://api.github.com/users/nivla/repos","events_url":"https://api.github.com/users/nivla/events{/privacy}","received_events_url":"https://api.github.com/users/nivla/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-28T18:49:51Z","updated_at":"2018-06-28T18:50:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"446c50ec5ff97b9846a387743006284a0af37b89","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/markmercedes/krudmin/pulls/147/commits","review_comments_url":"https://api.github.com/repos/markmercedes/krudmin/pulls/147/comments","review_comment_url":"https://api.github.com/repos/markmercedes/krudmin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/markmercedes/krudmin/issues/147/comments","statuses_url":"https://api.github.com/repos/markmercedes/krudmin/statuses/d45ca802ae7feabad282ff6685d971e6e33a7aa1","head":{"label":"nivla:master","ref":"master","sha":"d45ca802ae7feabad282ff6685d971e6e33a7aa1","user":{"login":"nivla","id":2448098,"node_id":"MDQ6VXNlcjI0NDgwOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2448098?v=4","gravatar_id":"","url":"https://api.github.com/users/nivla","html_url":"https://github.com/nivla","followers_url":"https://api.github.com/users/nivla/followers","following_url":"https://api.github.com/users/nivla/following{/other_user}","gists_url":"https://api.github.com/users/nivla/gists{/gist_id}","starred_url":"https://api.github.com/users/nivla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivla/subscriptions","organizations_url":"https://api.github.com/users/nivla/orgs","repos_url":"https://api.github.com/users/nivla/repos","events_url":"https://api.github.com/users/nivla/events{/privacy}","received_events_url":"https://api.github.com/users/nivla/received_events","type":"User","site_admin":false},"repo":{"id":132179065,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIxNzkwNjU=","name":"krudmin","full_name":"nivla/krudmin","owner":{"login":"nivla","id":2448098,"node_id":"MDQ6VXNlcjI0NDgwOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2448098?v=4","gravatar_id":"","url":"https://api.github.com/users/nivla","html_url":"https://github.com/nivla","followers_url":"https://api.github.com/users/nivla/followers","following_url":"https://api.github.com/users/nivla/following{/other_user}","gists_url":"https://api.github.com/users/nivla/gists{/gist_id}","starred_url":"https://api.github.com/users/nivla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nivla/subscriptions","organizations_url":"https://api.github.com/users/nivla/orgs","repos_url":"https://api.github.com/users/nivla/repos","events_url":"https://api.github.com/users/nivla/events{/privacy}","received_events_url":"https://api.github.com/users/nivla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nivla/krudmin","description":"A Framework on top of Rails engine that provides easy ways to manage your backend data","fork":true,"url":"https://api.github.com/repos/nivla/krudmin","forks_url":"https://api.github.com/repos/nivla/krudmin/forks","keys_url":"https://api.github.com/repos/nivla/krudmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nivla/krudmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nivla/krudmin/teams","hooks_url":"https://api.github.com/repos/nivla/krudmin/hooks","issue_events_url":"https://api.github.com/repos/nivla/krudmin/issues/events{/number}","events_url":"https://api.github.com/repos/nivla/krudmin/events","assignees_url":"https://api.github.com/repos/nivla/krudmin/assignees{/user}","branches_url":"https://api.github.com/repos/nivla/krudmin/branches{/branch}","tags_url":"https://api.github.com/repos/nivla/krudmin/tags","blobs_url":"https://api.github.com/repos/nivla/krudmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nivla/krudmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nivla/krudmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/nivla/krudmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nivla/krudmin/statuses/{sha}","languages_url":"https://api.github.com/repos/nivla/krudmin/languages","stargazers_url":"https://api.github.com/repos/nivla/krudmin/stargazers","contributors_url":"https://api.github.com/repos/nivla/krudmin/contributors","subscribers_url":"https://api.github.com/repos/nivla/krudmin/subscribers","subscription_url":"https://api.github.com/repos/nivla/krudmin/subscription","commits_url":"https://api.github.com/repos/nivla/krudmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/nivla/krudmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/nivla/krudmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/nivla/krudmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/nivla/krudmin/contents/{+path}","compare_url":"https://api.github.com/repos/nivla/krudmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nivla/krudmin/merges","archive_url":"https://api.github.com/repos/nivla/krudmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nivla/krudmin/downloads","issues_url":"https://api.github.com/repos/nivla/krudmin/issues{/number}","pulls_url":"https://api.github.com/repos/nivla/krudmin/pulls{/number}","milestones_url":"https://api.github.com/repos/nivla/krudmin/milestones{/number}","notifications_url":"https://api.github.com/repos/nivla/krudmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nivla/krudmin/labels{/name}","releases_url":"https://api.github.com/repos/nivla/krudmin/releases{/id}","deployments_url":"https://api.github.com/repos/nivla/krudmin/deployments","created_at":"2018-05-04T19:08:21Z","updated_at":"2018-06-28T18:46:01Z","pushed_at":"2018-06-28T18:45:58Z","git_url":"git://github.com/nivla/krudmin.git","ssh_url":"git@github.com:nivla/krudmin.git","clone_url":"https://github.com/nivla/krudmin.git","svn_url":"https://github.com/nivla/krudmin","homepage":null,"size":789,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"markmercedes:master","ref":"master","sha":"34fc58664c43d0b00ec649223325b40892288f98","user":{"login":"markmercedes","id":1702736,"node_id":"MDQ6VXNlcjE3MDI3MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1702736?v=4","gravatar_id":"","url":"https://api.github.com/users/markmercedes","html_url":"https://github.com/markmercedes","followers_url":"https://api.github.com/users/markmercedes/followers","following_url":"https://api.github.com/users/markmercedes/following{/other_user}","gists_url":"https://api.github.com/users/markmercedes/gists{/gist_id}","starred_url":"https://api.github.com/users/markmercedes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markmercedes/subscriptions","organizations_url":"https://api.github.com/users/markmercedes/orgs","repos_url":"https://api.github.com/users/markmercedes/repos","events_url":"https://api.github.com/users/markmercedes/events{/privacy}","received_events_url":"https://api.github.com/users/markmercedes/received_events","type":"User","site_admin":false},"repo":{"id":115139882,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUxMzk4ODI=","name":"krudmin","full_name":"markmercedes/krudmin","owner":{"login":"markmercedes","id":1702736,"node_id":"MDQ6VXNlcjE3MDI3MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1702736?v=4","gravatar_id":"","url":"https://api.github.com/users/markmercedes","html_url":"https://github.com/markmercedes","followers_url":"https://api.github.com/users/markmercedes/followers","following_url":"https://api.github.com/users/markmercedes/following{/other_user}","gists_url":"https://api.github.com/users/markmercedes/gists{/gist_id}","starred_url":"https://api.github.com/users/markmercedes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markmercedes/subscriptions","organizations_url":"https://api.github.com/users/markmercedes/orgs","repos_url":"https://api.github.com/users/markmercedes/repos","events_url":"https://api.github.com/users/markmercedes/events{/privacy}","received_events_url":"https://api.github.com/users/markmercedes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markmercedes/krudmin","description":"A Framework on top of Rails engine that provides easy ways to manage your backend data","fork":false,"url":"https://api.github.com/repos/markmercedes/krudmin","forks_url":"https://api.github.com/repos/markmercedes/krudmin/forks","keys_url":"https://api.github.com/repos/markmercedes/krudmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markmercedes/krudmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markmercedes/krudmin/teams","hooks_url":"https://api.github.com/repos/markmercedes/krudmin/hooks","issue_events_url":"https://api.github.com/repos/markmercedes/krudmin/issues/events{/number}","events_url":"https://api.github.com/repos/markmercedes/krudmin/events","assignees_url":"https://api.github.com/repos/markmercedes/krudmin/assignees{/user}","branches_url":"https://api.github.com/repos/markmercedes/krudmin/branches{/branch}","tags_url":"https://api.github.com/repos/markmercedes/krudmin/tags","blobs_url":"https://api.github.com/repos/markmercedes/krudmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markmercedes/krudmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markmercedes/krudmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/markmercedes/krudmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markmercedes/krudmin/statuses/{sha}","languages_url":"https://api.github.com/repos/markmercedes/krudmin/languages","stargazers_url":"https://api.github.com/repos/markmercedes/krudmin/stargazers","contributors_url":"https://api.github.com/repos/markmercedes/krudmin/contributors","subscribers_url":"https://api.github.com/repos/markmercedes/krudmin/subscribers","subscription_url":"https://api.github.com/repos/markmercedes/krudmin/subscription","commits_url":"https://api.github.com/repos/markmercedes/krudmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/markmercedes/krudmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/markmercedes/krudmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/markmercedes/krudmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/markmercedes/krudmin/contents/{+path}","compare_url":"https://api.github.com/repos/markmercedes/krudmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markmercedes/krudmin/merges","archive_url":"https://api.github.com/repos/markmercedes/krudmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markmercedes/krudmin/downloads","issues_url":"https://api.github.com/repos/markmercedes/krudmin/issues{/number}","pulls_url":"https://api.github.com/repos/markmercedes/krudmin/pulls{/number}","milestones_url":"https://api.github.com/repos/markmercedes/krudmin/milestones{/number}","notifications_url":"https://api.github.com/repos/markmercedes/krudmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markmercedes/krudmin/labels{/name}","releases_url":"https://api.github.com/repos/markmercedes/krudmin/releases{/id}","deployments_url":"https://api.github.com/repos/markmercedes/krudmin/deployments","created_at":"2017-12-22T18:17:17Z","updated_at":"2018-06-21T15:52:14Z","pushed_at":"2018-06-28T18:49:52Z","git_url":"git://github.com/markmercedes/krudmin.git","ssh_url":"git@github.com:markmercedes/krudmin.git","clone_url":"https://github.com/markmercedes/krudmin.git","svn_url":"https://github.com/markmercedes/krudmin","homepage":null,"size":804,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":6,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/markmercedes/krudmin/pulls/147"},"html":{"href":"https://github.com/markmercedes/krudmin/pull/147"},"issue":{"href":"https://api.github.com/repos/markmercedes/krudmin/issues/147"},"comments":{"href":"https://api.github.com/repos/markmercedes/krudmin/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/markmercedes/krudmin/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/markmercedes/krudmin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/markmercedes/krudmin/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/markmercedes/krudmin/statuses/d45ca802ae7feabad282ff6685d971e6e33a7aa1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}