Created
March 15, 2016 16:12
-
-
Save markstory/8cf8c91d31f8fc2c891b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Billings::Subscription | |
.where(systemid: Role.where( | |
identity_id: id, | |
role: Role::ADMIN_ROLE || Role::STAFF_ROLE).map(&:systemid)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment