{"action":"closed","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix_ecto/issues/36","labels_url":"https://api.github.com/repos/phoenixframework/phoenix_ecto/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix_ecto/issues/36/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix_ecto/issues/36/events","html_url":"https://github.com/phoenixframework/phoenix_ecto/issues/36","id":129944596,"number":36,"title":"Ecto callbacks, how to write them","user":{"login":"VladShcherbin","id":6711845,"avatar_url":"https://avatars.githubusercontent.com/u/6711845?v=3","gravatar_id":"","url":"https://api.github.com/users/VladShcherbin","html_url":"https://github.com/VladShcherbin","followers_url":"https://api.github.com/users/VladShcherbin/followers","following_url":"https://api.github.com/users/VladShcherbin/following{/other_user}","gists_url":"https://api.github.com/users/VladShcherbin/gists{/gist_id}","starred_url":"https://api.github.com/users/VladShcherbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladShcherbin/subscriptions","organizations_url":"https://api.github.com/users/VladShcherbin/orgs","repos_url":"https://api.github.com/users/VladShcherbin/repos","events_url":"https://api.github.com/users/VladShcherbin/events{/privacy}","received_events_url":"https://api.github.com/users/VladShcherbin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-30T05:43:04Z","updated_at":"2016-01-30T09:54:14Z","closed_at":"2016-01-30T09:54:14Z","body":"Since Ecto callbacks are deprecated now, how do we handle after/before actions now? Before actions can be done using changesets, but what about after callbacks.\r\n\r\nI need to broadcast an event after data is inserted. Any even simple example how to do it now?"}}