{"action":"reopened","issue":{"url":"https://api.github.com/repos/plataformatec/devise/issues/3757","labels_url":"https://api.github.com/repos/plataformatec/devise/issues/3757/labels{/name}","comments_url":"https://api.github.com/repos/plataformatec/devise/issues/3757/comments","events_url":"https://api.github.com/repos/plataformatec/devise/issues/3757/events","html_url":"https://github.com/plataformatec/devise/issues/3757","id":107150570,"number":3757,"title":"devise_group in application controller causing error","user":{"login":"MagicalMonkey","id":919329,"avatar_url":"https://avatars.githubusercontent.com/u/919329?v=3","gravatar_id":"","url":"https://api.github.com/users/MagicalMonkey","html_url":"https://github.com/MagicalMonkey","followers_url":"https://api.github.com/users/MagicalMonkey/followers","following_url":"https://api.github.com/users/MagicalMonkey/following{/other_user}","gists_url":"https://api.github.com/users/MagicalMonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/MagicalMonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagicalMonkey/subscriptions","organizations_url":"https://api.github.com/users/MagicalMonkey/orgs","repos_url":"https://api.github.com/users/MagicalMonkey/repos","events_url":"https://api.github.com/users/MagicalMonkey/events{/privacy}","received_events_url":"https://api.github.com/users/MagicalMonkey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-18T07:45:10Z","updated_at":"2015-09-18T12:52:27Z","closed_at":null,"body":"Sorry if this is a duplicate or I'm just missing something obvious but I've created a simple devise app with a user model that's extended via STI to two other classes and I have this in my application controller:\r\n\r\ndevise_group :users, contains: [:managers, :employees]\r\n\r\nBut I can't get the app to even start because it complains:\r\n\r\nNoMethodError: undefined method `devise_group' for ApplicationController:Class\r\n\r\nIs this a bug or do I have to manually include the class?\r\n\r\nMore details here: http://stackoverflow.com/questions/32612900/trying-to-create-multiple-devise-models-and-grouping-them-with-devise-group\r\n"}}