{"action":"created","issue":{"url":"https://api.github.com/repos/drapergem/draper/issues/644","labels_url":"https://api.github.com/repos/drapergem/draper/issues/644/labels{/name}","comments_url":"https://api.github.com/repos/drapergem/draper/issues/644/comments","events_url":"https://api.github.com/repos/drapergem/draper/issues/644/events","html_url":"https://github.com/drapergem/draper/issues/644","id":51425102,"number":644,"title":"draper doesn't work with ActiveModelSerializer 0-9-stable branch","user":{"login":"tricknotes","id":290782,"avatar_url":"https://avatars.githubusercontent.com/u/290782?v=3","gravatar_id":"","url":"https://api.github.com/users/tricknotes","html_url":"https://github.com/tricknotes","followers_url":"https://api.github.com/users/tricknotes/followers","following_url":"https://api.github.com/users/tricknotes/following{/other_user}","gists_url":"https://api.github.com/users/tricknotes/gists{/gist_id}","starred_url":"https://api.github.com/users/tricknotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tricknotes/subscriptions","organizations_url":"https://api.github.com/users/tricknotes/orgs","repos_url":"https://api.github.com/users/tricknotes/repos","events_url":"https://api.github.com/users/tricknotes/events{/privacy}","received_events_url":"https://api.github.com/users/tricknotes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-09T13:06:02Z","updated_at":"2015-01-29T17:54:09Z","closed_at":null,"body":"I caught the following error:\r\n\r\n```\r\n/Users/tricknotes/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/draper-1.4.0/lib/draper/railtie.rb:48:in `block (2 levels) in <class:Railtie>': uninitialized constant ActiveModel::ArraySerializerSupport (NameError)\r\n```\r\n\r\nsee: https://github.com/drapergem/draper/blob/v1.4.0/lib/draper/railtie.rb#L48\r\n\r\nWork versions:\r\n* AMS 0.8.x: It has `ActiveModel::ArraySerializerSupport`\r\n* AMS 0.9.0: It has no `ActiveModel::ArraySerializerSupport`. But it doesn't run load hooks - so it works.\r\n\r\nDoesn't work version:\r\n* AMS 0.9.1: It has no `ActiveModel::ArraySerializerSupport`. And run load hooks - so it doesn't work.\r\n"},"comment":{"url":"https://api.github.com/repos/drapergem/draper/issues/comments/72071401","html_url":"https://github.com/drapergem/draper/issues/644#issuecomment-72071401","issue_url":"https://api.github.com/repos/drapergem/draper/issues/644","id":72071401,"user":{"login":"KurtRMueller","id":879734,"avatar_url":"https://avatars.githubusercontent.com/u/879734?v=3","gravatar_id":"","url":"https://api.github.com/users/KurtRMueller","html_url":"https://github.com/KurtRMueller","followers_url":"https://api.github.com/users/KurtRMueller/followers","following_url":"https://api.github.com/users/KurtRMueller/following{/other_user}","gists_url":"https://api.github.com/users/KurtRMueller/gists{/gist_id}","starred_url":"https://api.github.com/users/KurtRMueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KurtRMueller/subscriptions","organizations_url":"https://api.github.com/users/KurtRMueller/orgs","repos_url":"https://api.github.com/users/KurtRMueller/repos","events_url":"https://api.github.com/users/KurtRMueller/events{/privacy}","received_events_url":"https://api.github.com/users/KurtRMueller/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T17:54:09Z","updated_at":"2015-01-29T17:54:09Z","body":"Hey @savroff, after reverting back to 0.9.0, I no longer receive the error."}}