{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/34530","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/34530/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/34530/comments","events_url":"https://api.github.com/repos/rails/rails/issues/34530/events","html_url":"https://github.com/rails/rails/issues/34530","id":384335817,"node_id":"MDU6SXNzdWUzODQzMzU4MTc=","number":34530,"title":"Ruby 2.6.0 revision 65989 deprecates Object#=~","user":{"login":"yahonda","id":73684,"node_id":"MDQ6VXNlcjczNjg0","avatar_url":"https://avatars3.githubusercontent.com/u/73684?v=4","gravatar_id":"","url":"https://api.github.com/users/yahonda","html_url":"https://github.com/yahonda","followers_url":"https://api.github.com/users/yahonda/followers","following_url":"https://api.github.com/users/yahonda/following{/other_user}","gists_url":"https://api.github.com/users/yahonda/gists{/gist_id}","starred_url":"https://api.github.com/users/yahonda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahonda/subscriptions","organizations_url":"https://api.github.com/users/yahonda/orgs","repos_url":"https://api.github.com/users/yahonda/repos","events_url":"https://api.github.com/users/yahonda/events{/privacy}","received_events_url":"https://api.github.com/users/yahonda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-26T13:41:17Z","updated_at":"2018-11-26T16:31:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Steps to reproduce\r\n\r\n* Install Ruby 2.6.0 trunk including [revision 65989](https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=65989&view=revision)\r\n\r\n```ruby\r\n$ cd activerecord\r\n$ bundle exec ruby -w -Itest test/cases/validations_test.rb -n test_numericality_validation_checks_against_raw_value\r\n```\r\n\r\n\r\n### Expected behavior\r\nIt should pass without warnings.\r\n\r\n### Actual behavior\r\nIt passes with warnings.\r\n\r\n```\r\n$ bundle exec ruby -w -Itest test/cases/validations_test.rb -n test_numericality_validation_checks_against_raw_value\r\nUsing sqlite3\r\nRun options: -n test_numericality_validation_checks_against_raw_value --seed 23960\r\n\r\n# Running:\r\n\r\n/home/yahonda/git/rails/activemodel/lib/active_model/validations/numericality.rb:89: warning: Object#=~ is deprecated; it always returns nil\r\n/home/yahonda/git/rails/activemodel/lib/active_model/validations/numericality.rb:89: warning: Object#=~ is deprecated; it always returns nil\r\n.\r\n\r\nFinished in 0.098373s, 10.1654 runs/s, 30.4963 assertions/s.\r\n1 runs, 3 assertions, 0 failures, 0 errors, 0 skips\r\n$\r\n```\r\n\r\n### System configuration\r\n**Rails version**: master branch\r\n\r\n**Ruby version**: ruby 2.6.0dev (2018-11-26 trunk 65993) [x86_64-linux]"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/441704683","html_url":"https://github.com/rails/rails/issues/34530#issuecomment-441704683","issue_url":"https://api.github.com/repos/rails/rails/issues/34530","id":441704683,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTcwNDY4Mw==","user":{"login":"rafaelfranca","id":47848,"node_id":"MDQ6VXNlcjQ3ODQ4","avatar_url":"https://avatars3.githubusercontent.com/u/47848?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaelfranca","html_url":"https://github.com/rafaelfranca","followers_url":"https://api.github.com/users/rafaelfranca/followers","following_url":"https://api.github.com/users/rafaelfranca/following{/other_user}","gists_url":"https://api.github.com/users/rafaelfranca/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelfranca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelfranca/subscriptions","organizations_url":"https://api.github.com/users/rafaelfranca/orgs","repos_url":"https://api.github.com/users/rafaelfranca/repos","events_url":"https://api.github.com/users/rafaelfranca/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelfranca/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T16:31:03Z","updated_at":"2018-11-26T16:31:03Z","author_association":"MEMBER","body":"I don't think it is a good idea do deprecate that method. We should comment on the ruby issue."}}
{"actor":{"display_login":"rafaelfranca"}}