{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/23101","labels_url":"https://api.github.com/repos/rails/rails/issues/23101/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/23101/comments","events_url":"https://api.github.com/repos/rails/rails/issues/23101/events","html_url":"https://github.com/rails/rails/pull/23101","id":127248475,"number":23101,"title":"prevent ArgumentError in sanitize_limit","user":{"login":"vinayvinsol","id":12937284,"avatar_url":"https://avatars.githubusercontent.com/u/12937284?v=3","gravatar_id":"","url":"https://api.github.com/users/vinayvinsol","html_url":"https://github.com/vinayvinsol","followers_url":"https://api.github.com/users/vinayvinsol/followers","following_url":"https://api.github.com/users/vinayvinsol/following{/other_user}","gists_url":"https://api.github.com/users/vinayvinsol/gists{/gist_id}","starred_url":"https://api.github.com/users/vinayvinsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinayvinsol/subscriptions","organizations_url":"https://api.github.com/users/vinayvinsol/orgs","repos_url":"https://api.github.com/users/vinayvinsol/repos","events_url":"https://api.github.com/users/vinayvinsol/events{/privacy}","received_events_url":"https://api.github.com/users/vinayvinsol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rails/rails/labels/activerecord","name":"activerecord","color":"0b02e1"}],"state":"open","locked":false,"assignee":{"login":"chancancode","id":55829,"avatar_url":"https://avatars.githubusercontent.com/u/55829?v=3","gravatar_id":"","url":"https://api.github.com/users/chancancode","html_url":"https://github.com/chancancode","followers_url":"https://api.github.com/users/chancancode/followers","following_url":"https://api.github.com/users/chancancode/following{/other_user}","gists_url":"https://api.github.com/users/chancancode/gists{/gist_id}","starred_url":"https://api.github.com/users/chancancode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chancancode/subscriptions","organizations_url":"https://api.github.com/users/chancancode/orgs","repos_url":"https://api.github.com/users/chancancode/repos","events_url":"https://api.github.com/users/chancancode/events{/privacy}","received_events_url":"https://api.github.com/users/chancancode/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-01-18T15:23:46Z","updated_at":"2016-01-19T06:40:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/23101","html_url":"https://github.com/rails/rails/pull/23101","diff_url":"https://github.com/rails/rails/pull/23101.diff","patch_url":"https://github.com/rails/rails/pull/23101.patch"},"body":"```ruby\r\nirb(main):008:0* Integer \"1.3\"\r\nArgumentError: invalid value for Integer(): \"1.3\"\r\n\r\nirb(main):010:0* \"1.3\".to_i\r\n=> 1\r\n```"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/172755779","html_url":"https://github.com/rails/rails/pull/23101#issuecomment-172755779","issue_url":"https://api.github.com/repos/rails/rails/issues/23101","id":172755779,"user":{"login":"prathamesh-sonpatki","id":621238,"avatar_url":"https://avatars.githubusercontent.com/u/621238?v=3","gravatar_id":"","url":"https://api.github.com/users/prathamesh-sonpatki","html_url":"https://github.com/prathamesh-sonpatki","followers_url":"https://api.github.com/users/prathamesh-sonpatki/followers","following_url":"https://api.github.com/users/prathamesh-sonpatki/following{/other_user}","gists_url":"https://api.github.com/users/prathamesh-sonpatki/gists{/gist_id}","starred_url":"https://api.github.com/users/prathamesh-sonpatki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prathamesh-sonpatki/subscriptions","organizations_url":"https://api.github.com/users/prathamesh-sonpatki/orgs","repos_url":"https://api.github.com/users/prathamesh-sonpatki/repos","events_url":"https://api.github.com/users/prathamesh-sonpatki/events{/privacy}","received_events_url":"https://api.github.com/users/prathamesh-sonpatki/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T06:40:36Z","updated_at":"2016-01-19T06:40:36Z","body":"@vinayvinsol Can you explain usecase? I didn't get how `1.3` can be passed as `limit`?"}}