{"action":"created","issue":{"url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/502","repository_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations","labels_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/502/comments","events_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/502/events","html_url":"https://github.com/DavyJonesLocker/client_side_validations/issues/502","id":11885327,"number":502,"title":"Validating size of file","user":{"login":"travisvalentine","id":1275771,"avatar_url":"https://avatars1.githubusercontent.com/u/1275771?v=4","gravatar_id":"","url":"https://api.github.com/users/travisvalentine","html_url":"https://github.com/travisvalentine","followers_url":"https://api.github.com/users/travisvalentine/followers","following_url":"https://api.github.com/users/travisvalentine/following{/other_user}","gists_url":"https://api.github.com/users/travisvalentine/gists{/gist_id}","starred_url":"https://api.github.com/users/travisvalentine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisvalentine/subscriptions","organizations_url":"https://api.github.com/users/travisvalentine/orgs","repos_url":"https://api.github.com/users/travisvalentine/repos","events_url":"https://api.github.com/users/travisvalentine/events{/privacy}","received_events_url":"https://api.github.com/users/travisvalentine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2013-03-11T16:40:29Z","updated_at":"2017-10-03T14:13:56Z","closed_at":"2013-03-12T15:22:40Z","author_association":"NONE","body":"I see in the [wiki](https://github.com/bcardarella/client_side_validations/wiki/Paperclip) that there is a way to `validate_presence_of` a file uploaded with Paperclip, but was wondering if there was a way to validate the file's size.\n"},"comment":{"url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/comments/333855010","html_url":"https://github.com/DavyJonesLocker/client_side_validations/issues/502#issuecomment-333855010","issue_url":"https://api.github.com/repos/DavyJonesLocker/client_side_validations/issues/502","id":333855010,"user":{"login":"tagliala","id":556268,"avatar_url":"https://avatars2.githubusercontent.com/u/556268?v=4","gravatar_id":"","url":"https://api.github.com/users/tagliala","html_url":"https://github.com/tagliala","followers_url":"https://api.github.com/users/tagliala/followers","following_url":"https://api.github.com/users/tagliala/following{/other_user}","gists_url":"https://api.github.com/users/tagliala/gists{/gist_id}","starred_url":"https://api.github.com/users/tagliala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tagliala/subscriptions","organizations_url":"https://api.github.com/users/tagliala/orgs","repos_url":"https://api.github.com/users/tagliala/repos","events_url":"https://api.github.com/users/tagliala/events{/privacy}","received_events_url":"https://api.github.com/users/tagliala/received_events","type":"User","site_admin":false},"created_at":"2017-10-03T14:13:56Z","updated_at":"2017-10-03T14:13:56Z","author_association":"CONTRIBUTOR","body":"Thanks.\r\n\r\n> `size: { in: 0..10.megabytes }`\r\n\r\nDoes this work? I'm seeing that javascript only checks for `less_than_or_equal_to`"}}
{"actor":{"display_login":"tagliala"}}