{"action":"created","issue":{"url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/100","labels_url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/100/comments","events_url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/100/events","html_url":"https://github.com/ErwinM/acts_as_tenant/issues/100","id":53353665,"number":100,"title":"set_current_tenant_through_filter not work with devise ","user":{"login":"fmh","id":56861,"avatar_url":"https://avatars.githubusercontent.com/u/56861?v=3","gravatar_id":"","url":"https://api.github.com/users/fmh","html_url":"https://github.com/fmh","followers_url":"https://api.github.com/users/fmh/followers","following_url":"https://api.github.com/users/fmh/following{/other_user}","gists_url":"https://api.github.com/users/fmh/gists{/gist_id}","starred_url":"https://api.github.com/users/fmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmh/subscriptions","organizations_url":"https://api.github.com/users/fmh/orgs","repos_url":"https://api.github.com/users/fmh/repos","events_url":"https://api.github.com/users/fmh/events{/privacy}","received_events_url":"https://api.github.com/users/fmh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-04T23:55:43Z","updated_at":"2015-01-13T21:08:13Z","closed_at":null,"body":"Hi,\r\nwith devise it does not work , because i think the before_filter cause this issue ,\r\ni think adding support for around_filter resolve this issue, \r\nI use the set_current_tenant_through_filter and a prepend_before_filter callback in my application_controller to log_in and registration, but with logout it does not work. \r\nOther closed issues : \r\n#20 #49 #24 \r\n\r\nVersions :\r\nRails 4.2.0\r\nacts_as_tenant 0.3.7\r\ndevise 3.4.1\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/comments/69820229","html_url":"https://github.com/ErwinM/acts_as_tenant/issues/100#issuecomment-69820229","issue_url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/100","id":69820229,"user":{"login":"fmh","id":56861,"avatar_url":"https://avatars.githubusercontent.com/u/56861?v=3","gravatar_id":"","url":"https://api.github.com/users/fmh","html_url":"https://github.com/fmh","followers_url":"https://api.github.com/users/fmh/followers","following_url":"https://api.github.com/users/fmh/following{/other_user}","gists_url":"https://api.github.com/users/fmh/gists{/gist_id}","starred_url":"https://api.github.com/users/fmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmh/subscriptions","organizations_url":"https://api.github.com/users/fmh/orgs","repos_url":"https://api.github.com/users/fmh/repos","events_url":"https://api.github.com/users/fmh/events{/privacy}","received_events_url":"https://api.github.com/users/fmh/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T21:08:13Z","updated_at":"2015-01-13T21:08:13Z","body":"change config.require_tenant to false resolve my issue, \r\ni try true and raise ActsAsTenant::Errors::NoTenantSet\r\ni look in my log and the last request is :  User Load (0.3ms)  SELECT `users`.* FROM `users`\r\nis devise select * users by default or ignore default_scope ?"}}