{"action":"closed","issue":{"url":"https://api.github.com/repos/openheritage/open-plaques-3/issues/153","repository_url":"https://api.github.com/repos/openheritage/open-plaques-3","labels_url":"https://api.github.com/repos/openheritage/open-plaques-3/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/openheritage/open-plaques-3/issues/153/comments","events_url":"https://api.github.com/repos/openheritage/open-plaques-3/issues/153/events","html_url":"https://github.com/openheritage/open-plaques-3/issues/153","id":325999678,"number":153,"title":"cannot call random() directly in sql","user":{"login":"jnicho02","id":83251,"avatar_url":"https://avatars3.githubusercontent.com/u/83251?v=4","gravatar_id":"","url":"https://api.github.com/users/jnicho02","html_url":"https://github.com/jnicho02","followers_url":"https://api.github.com/users/jnicho02/followers","following_url":"https://api.github.com/users/jnicho02/following{/other_user}","gists_url":"https://api.github.com/users/jnicho02/gists{/gist_id}","starred_url":"https://api.github.com/users/jnicho02/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnicho02/subscriptions","organizations_url":"https://api.github.com/users/jnicho02/orgs","repos_url":"https://api.github.com/users/jnicho02/repos","events_url":"https://api.github.com/users/jnicho02/events{/privacy}","received_events_url":"https://api.github.com/users/jnicho02/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-24T07:39:19Z","updated_at":"2018-05-24T07:43:06Z","closed_at":"2018-05-24T07:43:05Z","author_association":"MEMBER","body":"> DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): \"random()\". Non-attribute arguments will be disallowed in Rails 6.0. This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql(). (called from main_photo at /Users/jeznicholson/Projects/open-plaques-3/app/models/area.rb:105)"}}
{"actor":{"display_login":"jnicho02"}}