{"action":"created","issue":{"url":"https://api.github.com/repos/aasm/aasm/issues/415","repository_url":"https://api.github.com/repos/aasm/aasm","labels_url":"https://api.github.com/repos/aasm/aasm/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/aasm/aasm/issues/415/comments","events_url":"https://api.github.com/repos/aasm/aasm/issues/415/events","html_url":"https://github.com/aasm/aasm/issues/415","id":186228641,"node_id":"MDU6SXNzdWUxODYyMjg2NDE=","number":415,"title":"How to get new value instead of old value in after functions?","user":{"login":"FX-HAO","id":6838487,"node_id":"MDQ6VXNlcjY4Mzg0ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/6838487?v=4","gravatar_id":"","url":"https://api.github.com/users/FX-HAO","html_url":"https://github.com/FX-HAO","followers_url":"https://api.github.com/users/FX-HAO/followers","following_url":"https://api.github.com/users/FX-HAO/following{/other_user}","gists_url":"https://api.github.com/users/FX-HAO/gists{/gist_id}","starred_url":"https://api.github.com/users/FX-HAO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FX-HAO/subscriptions","organizations_url":"https://api.github.com/users/FX-HAO/orgs","repos_url":"https://api.github.com/users/FX-HAO/repos","events_url":"https://api.github.com/users/FX-HAO/events{/privacy}","received_events_url":"https://api.github.com/users/FX-HAO/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-31T08:27:13Z","updated_at":"2018-08-09T16:50:24Z","closed_at":"2016-10-31T08:33:20Z","author_association":"NONE","body":"Let's say i have the following code:\r\n\r\n      state :a, :b\r\n\r\n      event :next do\r\n        transitions :from => :a, :to => :b, :after => :after_callback\r\n      end\r\n\r\n      def after_callback\r\n      \tp state  # => Got `a` rather than `b`\r\n      end\r\n\r\nHow to get `b` rather than `a`?"},"comment":{"url":"https://api.github.com/repos/aasm/aasm/issues/comments/411824109","html_url":"https://github.com/aasm/aasm/issues/415#issuecomment-411824109","issue_url":"https://api.github.com/repos/aasm/aasm/issues/415","id":411824109,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTgyNDEwOQ==","user":{"login":"tanner-rutgers","id":4154746,"node_id":"MDQ6VXNlcjQxNTQ3NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4154746?v=4","gravatar_id":"","url":"https://api.github.com/users/tanner-rutgers","html_url":"https://github.com/tanner-rutgers","followers_url":"https://api.github.com/users/tanner-rutgers/followers","following_url":"https://api.github.com/users/tanner-rutgers/following{/other_user}","gists_url":"https://api.github.com/users/tanner-rutgers/gists{/gist_id}","starred_url":"https://api.github.com/users/tanner-rutgers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanner-rutgers/subscriptions","organizations_url":"https://api.github.com/users/tanner-rutgers/orgs","repos_url":"https://api.github.com/users/tanner-rutgers/repos","events_url":"https://api.github.com/users/tanner-rutgers/events{/privacy}","received_events_url":"https://api.github.com/users/tanner-rutgers/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T16:50:24Z","updated_at":"2018-08-09T16:50:24Z","author_association":"NONE","body":"@FX-HAO did you solve this? I also have the same issue"}}
{"actor":{"display_login":"tanner-rutgers"}}