Created
March 18, 2014 02:50
-
-
Save braidn/9612690 to your computer and use it in GitHub Desktop.
Users With CC's
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
User.joins('LEFT JOIN spree_credit_cards ON spree_users.payment_source_on_file_id = spree_credit_cards.id').where('spree_credit_cards.gateway_customer_profile_id like ?', "4%") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment