{"action":"opened","issue":{"url":"https://api.github.com/repos/carrierwaveuploader/carrierwave/issues/1886","repository_url":"https://api.github.com/repos/carrierwaveuploader/carrierwave","labels_url":"https://api.github.com/repos/carrierwaveuploader/carrierwave/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/carrierwaveuploader/carrierwave/issues/1886/comments","events_url":"https://api.github.com/repos/carrierwaveuploader/carrierwave/issues/1886/events","html_url":"https://github.com/carrierwaveuploader/carrierwave/issues/1886","id":136276417,"number":1886,"title":"invoke method in version","user":{"login":"Baozi2","id":5621510,"avatar_url":"https://avatars.githubusercontent.com/u/5621510?v=3","gravatar_id":"","url":"https://api.github.com/users/Baozi2","html_url":"https://github.com/Baozi2","followers_url":"https://api.github.com/users/Baozi2/followers","following_url":"https://api.github.com/users/Baozi2/following{/other_user}","gists_url":"https://api.github.com/users/Baozi2/gists{/gist_id}","starred_url":"https://api.github.com/users/Baozi2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baozi2/subscriptions","organizations_url":"https://api.github.com/users/Baozi2/orgs","repos_url":"https://api.github.com/users/Baozi2/repos","events_url":"https://api.github.com/users/Baozi2/events{/privacy}","received_events_url":"https://api.github.com/users/Baozi2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-25T04:21:20Z","updated_at":"2016-02-25T04:21:20Z","closed_at":null,"body":"I want to dymatic calculate size  like this\r\n```\r\nversion :demo do\r\n    process :resize_to_fill => demo_size\r\n  end\r\n\r\n  def demo_size(file = file)\r\n    [100, 100]\r\n  end\r\n```\r\na exception happened\r\n```\r\nundefined local variable or method `demo_size' for #<Class:0x00000002716e28>\r\n```"}}