{"action":"created","issue":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1648","repository_url":"https://api.github.com/repos/rails-api/active_model_serializers","labels_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1648/labels{/name}","comments_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1648/comments","events_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1648/events","html_url":"https://github.com/rails-api/active_model_serializers/issues/1648","id":145133307,"number":1648,"title":"undefined local variable or method `cache_store' for ActionController::API:Class","user":{"login":"GCorbel","id":1296201,"avatar_url":"https://avatars.githubusercontent.com/u/1296201?v=3","gravatar_id":"","url":"https://api.github.com/users/GCorbel","html_url":"https://github.com/GCorbel","followers_url":"https://api.github.com/users/GCorbel/followers","following_url":"https://api.github.com/users/GCorbel/following{/other_user}","gists_url":"https://api.github.com/users/GCorbel/gists{/gist_id}","starred_url":"https://api.github.com/users/GCorbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GCorbel/subscriptions","organizations_url":"https://api.github.com/users/GCorbel/orgs","repos_url":"https://api.github.com/users/GCorbel/repos","events_url":"https://api.github.com/users/GCorbel/events{/privacy}","received_events_url":"https://api.github.com/users/GCorbel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T09:31:54Z","updated_at":"2016-04-01T10:29:20Z","closed_at":null,"body":"In a Rails 5 app, on the master branch of AMS, when I go to any controller, I have : \r\n\r\n    undefined local variable or method `cache_store' for ActionController::API:Class\r\n\r\nIt stops at [this line](https://github.com/rails-api/active_model_serializers/blob/master/lib/active_model_serializers/railtie.rb#L31). `cache_store` seems to not be available in Rails 5.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/comments/204342071","html_url":"https://github.com/rails-api/active_model_serializers/issues/1648#issuecomment-204342071","issue_url":"https://api.github.com/repos/rails-api/active_model_serializers/issues/1648","id":204342071,"user":{"login":"bf4","id":142914,"avatar_url":"https://avatars.githubusercontent.com/u/142914?v=3","gravatar_id":"","url":"https://api.github.com/users/bf4","html_url":"https://github.com/bf4","followers_url":"https://api.github.com/users/bf4/followers","following_url":"https://api.github.com/users/bf4/following{/other_user}","gists_url":"https://api.github.com/users/bf4/gists{/gist_id}","starred_url":"https://api.github.com/users/bf4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bf4/subscriptions","organizations_url":"https://api.github.com/users/bf4/orgs","repos_url":"https://api.github.com/users/bf4/repos","events_url":"https://api.github.com/users/bf4/events{/privacy}","received_events_url":"https://api.github.com/users/bf4/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T10:29:20Z","updated_at":"2016-04-01T10:29:20Z","body":"This is fixed on master"}}