{"action":"created","issue":{"url":"https://api.github.com/repos/norman/friendly_id/issues/856","repository_url":"https://api.github.com/repos/norman/friendly_id","labels_url":"https://api.github.com/repos/norman/friendly_id/issues/856/labels{/name}","comments_url":"https://api.github.com/repos/norman/friendly_id/issues/856/comments","events_url":"https://api.github.com/repos/norman/friendly_id/issues/856/events","html_url":"https://github.com/norman/friendly_id/issues/856","id":295039676,"number":856,"title":"Deprecation warnings when using Rails 5.2.0.rc1","user":{"login":"pranav7","id":1835120,"avatar_url":"https://avatars1.githubusercontent.com/u/1835120?v=4","gravatar_id":"","url":"https://api.github.com/users/pranav7","html_url":"https://github.com/pranav7","followers_url":"https://api.github.com/users/pranav7/followers","following_url":"https://api.github.com/users/pranav7/following{/other_user}","gists_url":"https://api.github.com/users/pranav7/gists{/gist_id}","starred_url":"https://api.github.com/users/pranav7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranav7/subscriptions","organizations_url":"https://api.github.com/users/pranav7/orgs","repos_url":"https://api.github.com/users/pranav7/repos","events_url":"https://api.github.com/users/pranav7/events{/privacy}","received_events_url":"https://api.github.com/users/pranav7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-07T07:59:06Z","updated_at":"2018-04-11T21:04:06Z","closed_at":null,"author_association":"NONE","body":"After upgrading Rails to `5.2.0.*` I have been getting this deprecation warning while running tests.\r\n\r\n> DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): \"\\\"friendly_id_slugs\\\".id DESC\". 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()\r\n\r\nHere is the [ActiveRecord changelog](https://github.com/rails/rails/blob/5-2-stable/activerecord/CHANGELOG.md#rails-520beta1-november-27-2017) that requires raw SQL fragments to be explicitly marked.\r\n\r\nI am running `friendly_id (5.2.3)` with `rails 5.2.0.rc1`\r\n\r\nThanks for all the work on this gem, it's super useful! 👍 "},"comment":{"url":"https://api.github.com/repos/norman/friendly_id/issues/comments/380595062","html_url":"https://github.com/norman/friendly_id/issues/856#issuecomment-380595062","issue_url":"https://api.github.com/repos/norman/friendly_id/issues/856","id":380595062,"user":{"login":"mmoll","id":1434927,"avatar_url":"https://avatars2.githubusercontent.com/u/1434927?v=4","gravatar_id":"","url":"https://api.github.com/users/mmoll","html_url":"https://github.com/mmoll","followers_url":"https://api.github.com/users/mmoll/followers","following_url":"https://api.github.com/users/mmoll/following{/other_user}","gists_url":"https://api.github.com/users/mmoll/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoll/subscriptions","organizations_url":"https://api.github.com/users/mmoll/orgs","repos_url":"https://api.github.com/users/mmoll/repos","events_url":"https://api.github.com/users/mmoll/events{/privacy}","received_events_url":"https://api.github.com/users/mmoll/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T21:04:06Z","updated_at":"2018-04-11T21:04:06Z","author_association":"NONE","body":"Could we have a new release with this, please? :pray: "}}
{"actor":{"display_login":"mmoll"}}