{"action":"created","issue":{"url":"https://api.github.com/repos/TGAC/brassica/issues/600","repository_url":"https://api.github.com/repos/TGAC/brassica","labels_url":"https://api.github.com/repos/TGAC/brassica/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/TGAC/brassica/issues/600/comments","events_url":"https://api.github.com/repos/TGAC/brassica/issues/600/events","html_url":"https://github.com/TGAC/brassica/issues/600","id":165765879,"number":600,"title":"population_submission.rb","user":{"login":"teatree1212","id":17452217,"avatar_url":"https://avatars.githubusercontent.com/u/17452217?v=3","gravatar_id":"","url":"https://api.github.com/users/teatree1212","html_url":"https://github.com/teatree1212","followers_url":"https://api.github.com/users/teatree1212/followers","following_url":"https://api.github.com/users/teatree1212/following{/other_user}","gists_url":"https://api.github.com/users/teatree1212/gists{/gist_id}","starred_url":"https://api.github.com/users/teatree1212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teatree1212/subscriptions","organizations_url":"https://api.github.com/users/teatree1212/orgs","repos_url":"https://api.github.com/users/teatree1212/repos","events_url":"https://api.github.com/users/teatree1212/events{/privacy}","received_events_url":"https://api.github.com/users/teatree1212/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Nuanda","id":107565,"avatar_url":"https://avatars.githubusercontent.com/u/107565?v=3","gravatar_id":"","url":"https://api.github.com/users/Nuanda","html_url":"https://github.com/Nuanda","followers_url":"https://api.github.com/users/Nuanda/followers","following_url":"https://api.github.com/users/Nuanda/following{/other_user}","gists_url":"https://api.github.com/users/Nuanda/gists{/gist_id}","starred_url":"https://api.github.com/users/Nuanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nuanda/subscriptions","organizations_url":"https://api.github.com/users/Nuanda/orgs","repos_url":"https://api.github.com/users/Nuanda/repos","events_url":"https://api.github.com/users/Nuanda/events{/privacy}","received_events_url":"https://api.github.com/users/Nuanda/received_events","type":"User","site_admin":false},"assignees":[{"login":"Nuanda","id":107565,"avatar_url":"https://avatars.githubusercontent.com/u/107565?v=3","gravatar_id":"","url":"https://api.github.com/users/Nuanda","html_url":"https://github.com/Nuanda","followers_url":"https://api.github.com/users/Nuanda/followers","following_url":"https://api.github.com/users/Nuanda/following{/other_user}","gists_url":"https://api.github.com/users/Nuanda/gists{/gist_id}","starred_url":"https://api.github.com/users/Nuanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nuanda/subscriptions","organizations_url":"https://api.github.com/users/Nuanda/orgs","repos_url":"https://api.github.com/users/Nuanda/repos","events_url":"https://api.github.com/users/Nuanda/events{/privacy}","received_events_url":"https://api.github.com/users/Nuanda/received_events","type":"User","site_admin":false}],"milestone":null,"comments":17,"created_at":"2016-07-15T11:24:02Z","updated_at":"2016-07-15T15:09:08Z","closed_at":null,"body":"I don't understand how you could create just one  pluralize_class method that defined the \r\ncreate_record method  which you use for both creating all new records for all tables.\r\n\r\nI am referring to the part below which you use within the create_record  method \r\nhere, the class_name is defined as plant_variety?plant_varieties:variety_name\r\nwhich would be part of the API request.\r\n\r\n+def pluralize_class(class_name)\r\n +  class_name == 'plant_variety' ? 'plant_varieties' : \"#{class_name}s\"\r\n +end\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/TGAC/brassica/issues/comments/232978122","html_url":"https://github.com/TGAC/brassica/issues/600#issuecomment-232978122","issue_url":"https://api.github.com/repos/TGAC/brassica/issues/600","id":232978122,"user":{"login":"teatree1212","id":17452217,"avatar_url":"https://avatars.githubusercontent.com/u/17452217?v=3","gravatar_id":"","url":"https://api.github.com/users/teatree1212","html_url":"https://github.com/teatree1212","followers_url":"https://api.github.com/users/teatree1212/followers","following_url":"https://api.github.com/users/teatree1212/following{/other_user}","gists_url":"https://api.github.com/users/teatree1212/gists{/gist_id}","starred_url":"https://api.github.com/users/teatree1212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teatree1212/subscriptions","organizations_url":"https://api.github.com/users/teatree1212/orgs","repos_url":"https://api.github.com/users/teatree1212/repos","events_url":"https://api.github.com/users/teatree1212/events{/privacy}","received_events_url":"https://api.github.com/users/teatree1212/received_events","type":"User","site_admin":false},"created_at":"2016-07-15T15:09:08Z","updated_at":"2016-07-15T15:09:08Z","body":"I know the basics. I don't have this repository on my computer, I suppose I would have to start with that?"}}
{"actor":{"display_login":"teatree1212"}}