{"action":"created","issue":{"url":"https://api.github.com/repos/DannyBen/pundit_extra/issues/6","repository_url":"https://api.github.com/repos/DannyBen/pundit_extra","labels_url":"https://api.github.com/repos/DannyBen/pundit_extra/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/DannyBen/pundit_extra/issues/6/comments","events_url":"https://api.github.com/repos/DannyBen/pundit_extra/issues/6/events","html_url":"https://github.com/DannyBen/pundit_extra/issues/6","id":170958033,"number":6,"title":"Pundit strong parameter mechanism","user":{"login":"VandorpeDavid","id":11561878,"avatar_url":"https://avatars.githubusercontent.com/u/11561878?v=3","gravatar_id":"","url":"https://api.github.com/users/VandorpeDavid","html_url":"https://github.com/VandorpeDavid","followers_url":"https://api.github.com/users/VandorpeDavid/followers","following_url":"https://api.github.com/users/VandorpeDavid/following{/other_user}","gists_url":"https://api.github.com/users/VandorpeDavid/gists{/gist_id}","starred_url":"https://api.github.com/users/VandorpeDavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VandorpeDavid/subscriptions","organizations_url":"https://api.github.com/users/VandorpeDavid/orgs","repos_url":"https://api.github.com/users/VandorpeDavid/repos","events_url":"https://api.github.com/users/VandorpeDavid/events{/privacy}","received_events_url":"https://api.github.com/users/VandorpeDavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-12T20:59:24Z","updated_at":"2016-08-12T21:20:08Z","closed_at":null,"body":"The load_resource uses ` resource.attributes = send(\"#{resource_name}_params\") if action == 'create'` instead of `resource.update_attributes(permitted_attributes ... ))`\r\n\r\nhttps://github.com/elabs/pundit#strong-parameters"},"comment":{"url":"https://api.github.com/repos/DannyBen/pundit_extra/issues/comments/239562555","html_url":"https://github.com/DannyBen/pundit_extra/issues/6#issuecomment-239562555","issue_url":"https://api.github.com/repos/DannyBen/pundit_extra/issues/6","id":239562555,"user":{"login":"VandorpeDavid","id":11561878,"avatar_url":"https://avatars.githubusercontent.com/u/11561878?v=3","gravatar_id":"","url":"https://api.github.com/users/VandorpeDavid","html_url":"https://github.com/VandorpeDavid","followers_url":"https://api.github.com/users/VandorpeDavid/followers","following_url":"https://api.github.com/users/VandorpeDavid/following{/other_user}","gists_url":"https://api.github.com/users/VandorpeDavid/gists{/gist_id}","starred_url":"https://api.github.com/users/VandorpeDavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VandorpeDavid/subscriptions","organizations_url":"https://api.github.com/users/VandorpeDavid/orgs","repos_url":"https://api.github.com/users/VandorpeDavid/repos","events_url":"https://api.github.com/users/VandorpeDavid/events{/privacy}","received_events_url":"https://api.github.com/users/VandorpeDavid/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T21:20:08Z","updated_at":"2016-08-12T21:20:08Z","body":"I'd use `resource.attributes = permitted_attributes(resource)` if `policy(resource).respond_to? :permitted_attributes` returns true (meaning the developper is using the mechanism)"}}
{"actor":{"display_login":"VandorpeDavid"}}