{"action":"opened","issue":{"url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5440","repository_url":"https://api.github.com/repos/activeadmin/activeadmin","labels_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5440/labels{/name}","comments_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5440/comments","events_url":"https://api.github.com/repos/activeadmin/activeadmin/issues/5440/events","html_url":"https://github.com/activeadmin/activeadmin/issues/5440","id":344484366,"node_id":"MDU6SXNzdWUzNDQ0ODQzNjY=","number":5440,"title":"XML serialization broken in Rails 5.2 if activemodel-serializers-xml not present","user":{"login":"tf","id":26554,"node_id":"MDQ6VXNlcjI2NTU0","avatar_url":"https://avatars3.githubusercontent.com/u/26554?v=4","gravatar_id":"","url":"https://api.github.com/users/tf","html_url":"https://github.com/tf","followers_url":"https://api.github.com/users/tf/followers","following_url":"https://api.github.com/users/tf/following{/other_user}","gists_url":"https://api.github.com/users/tf/gists{/gist_id}","starred_url":"https://api.github.com/users/tf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tf/subscriptions","organizations_url":"https://api.github.com/users/tf/orgs","repos_url":"https://api.github.com/users/tf/repos","events_url":"https://api.github.com/users/tf/events{/privacy}","received_events_url":"https://api.github.com/users/tf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T15:05:30Z","updated_at":"2018-07-25T15:05:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Expected behavior\r\n\r\nClicking the XML-Link below a table should result in a XML serialization of the table including the model attributes.\r\n\r\n### Actual behavior\r\n\r\nInstead, the output looks like this:\r\n\r\n```\r\n<orders type=\"array\">\r\n  <order type=\"Order\">#<Order:0x0055acb3e56388></order>\r\n</orders>\r\n```\r\n\r\n### How to reproduce\r\n\r\nhttp://demo.activeadmin.info/admin/orders.xml \r\n\r\n### Solution/Workaround\r\n\r\nAdding `activemodel-serializers-xml` to the applications `Gemfile` fixes the issue. Maybe this should be a dependency or added by the install generator by default?"}}
{"actor":{"display_login":"tf"}}