{"action":"created","issue":{"url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/131","repository_url":"https://api.github.com/repos/ErwinM/acts_as_tenant","labels_url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/131/comments","events_url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/131/events","html_url":"https://github.com/ErwinM/acts_as_tenant/pull/131","id":129803101,"number":131,"title":"Ability to disable tenant verification for a block","user":{"login":"duboff","id":5929988,"avatar_url":"https://avatars.githubusercontent.com/u/5929988?v=3","gravatar_id":"","url":"https://api.github.com/users/duboff","html_url":"https://github.com/duboff","followers_url":"https://api.github.com/users/duboff/followers","following_url":"https://api.github.com/users/duboff/following{/other_user}","gists_url":"https://api.github.com/users/duboff/gists{/gist_id}","starred_url":"https://api.github.com/users/duboff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duboff/subscriptions","organizations_url":"https://api.github.com/users/duboff/orgs","repos_url":"https://api.github.com/users/duboff/repos","events_url":"https://api.github.com/users/duboff/events{/privacy}","received_events_url":"https://api.github.com/users/duboff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-29T15:43:13Z","updated_at":"2016-03-18T18:20:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ErwinM/acts_as_tenant/pulls/131","html_url":"https://github.com/ErwinM/acts_as_tenant/pull/131","diff_url":"https://github.com/ErwinM/acts_as_tenant/pull/131.diff","patch_url":"https://github.com/ErwinM/acts_as_tenant/pull/131.patch"},"body":"This addresses #125 by adding an ability to run a block of code without tenant being checked even if require_tenant is set to true in the initializer.\r\n\r\nThe most common use case is having the require_tenant enabled across the app but disabling it in the admin panel or when working with data in the console.\r\n\r\n# Usage\r\n```rb\r\nActsAsTenant.without_tenant do\r\n  Post.all\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/comments/198480852","html_url":"https://github.com/ErwinM/acts_as_tenant/pull/131#issuecomment-198480852","issue_url":"https://api.github.com/repos/ErwinM/acts_as_tenant/issues/131","id":198480852,"user":{"login":"ErwinM","id":451731,"avatar_url":"https://avatars.githubusercontent.com/u/451731?v=3","gravatar_id":"","url":"https://api.github.com/users/ErwinM","html_url":"https://github.com/ErwinM","followers_url":"https://api.github.com/users/ErwinM/followers","following_url":"https://api.github.com/users/ErwinM/following{/other_user}","gists_url":"https://api.github.com/users/ErwinM/gists{/gist_id}","starred_url":"https://api.github.com/users/ErwinM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErwinM/subscriptions","organizations_url":"https://api.github.com/users/ErwinM/orgs","repos_url":"https://api.github.com/users/ErwinM/repos","events_url":"https://api.github.com/users/ErwinM/events{/privacy}","received_events_url":"https://api.github.com/users/ErwinM/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T18:20:16Z","updated_at":"2016-03-18T18:20:16Z","body":"                                                                                      Yes! Will do tonite                                                                                                                                                                                                                                                                                                                                        Erwin                                                                                                                                                                                                                From: Mikhail DubovSent: Friday, 18 March 2016 19:18To: ErwinM/acts_as_tenantReply To: ErwinM/acts_as_tenantCc: ErwinMSubject: Re: [acts_as_tenant] Ability to disable tenant verification for a block (#131)@ErwinM I squashed the commits. Is it possible to merge?\n\n—You are receiving this because you were mentioned.Reply to this email directly or view it on GitHub"}}