{"action":"created","issue":{"url":"https://api.github.com/repos/drapergem/draper/issues/663","labels_url":"https://api.github.com/repos/drapergem/draper/issues/663/labels{/name}","comments_url":"https://api.github.com/repos/drapergem/draper/issues/663/comments","events_url":"https://api.github.com/repos/drapergem/draper/issues/663/events","html_url":"https://github.com/drapergem/draper/issues/663","id":66033727,"number":663,"title":"ActiveJob Integration","user":{"login":"hayesgm","id":271024,"avatar_url":"https://avatars.githubusercontent.com/u/271024?v=3","gravatar_id":"","url":"https://api.github.com/users/hayesgm","html_url":"https://github.com/hayesgm","followers_url":"https://api.github.com/users/hayesgm/followers","following_url":"https://api.github.com/users/hayesgm/following{/other_user}","gists_url":"https://api.github.com/users/hayesgm/gists{/gist_id}","starred_url":"https://api.github.com/users/hayesgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayesgm/subscriptions","organizations_url":"https://api.github.com/users/hayesgm/orgs","repos_url":"https://api.github.com/users/hayesgm/repos","events_url":"https://api.github.com/users/hayesgm/events{/privacy}","received_events_url":"https://api.github.com/users/hayesgm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-02T23:42:30Z","updated_at":"2015-04-03T21:08:45Z","closed_at":null,"body":"Draper decorators do not currently implement [globalid](https://github.com/rails/globalid).  The fix is just to call in an initializer:\r\n\r\n```ruby\r\nDraper::Decorator.send(:include, GlobalID::Identification) if defined?(GlobalID)\r\n```\r\n\r\nAs `rails` includes `globalid` by default, would we want to add this line to the repo or put it in the documentation?\r\n\r\nWithout this fix, calling `UserMailer.welcome(user.decorate).deliver_later` will raise `ActiveJob:: SerializationError `, due to [this code](https://github.com/rails/rails/blob/31085a5cd47894b6fa397ca22fe8aa552d339ce8/activejob/lib/active_job/arguments.rb#L51)."},"comment":{"url":"https://api.github.com/repos/drapergem/draper/issues/comments/89420619","html_url":"https://github.com/drapergem/draper/issues/663#issuecomment-89420619","issue_url":"https://api.github.com/repos/drapergem/draper/issues/663","id":89420619,"user":{"login":"mikedao","id":3011748,"avatar_url":"https://avatars.githubusercontent.com/u/3011748?v=3","gravatar_id":"","url":"https://api.github.com/users/mikedao","html_url":"https://github.com/mikedao","followers_url":"https://api.github.com/users/mikedao/followers","following_url":"https://api.github.com/users/mikedao/following{/other_user}","gists_url":"https://api.github.com/users/mikedao/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedao/subscriptions","organizations_url":"https://api.github.com/users/mikedao/orgs","repos_url":"https://api.github.com/users/mikedao/repos","events_url":"https://api.github.com/users/mikedao/events{/privacy}","received_events_url":"https://api.github.com/users/mikedao/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T21:08:45Z","updated_at":"2015-04-03T21:08:45Z","body":"Modifying the documentation allows for an extremely quick fix. What are your arguments for/against?"}}