Created
June 13, 2011 17:37
-
-
Save phlipper/1023273 to your computer and use it in GitHub Desktop.
convert saaspulse trials to paying accounts
This file contains hidden or 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
Account.active.paying.select([:id, :company_name]).includes(:account_owner).each do |account| | |
Saaspulse.async_record( | |
:activity => "Purchase", | |
:module => "Account", | |
:org => account.company_name, | |
:user => account.account_owner.name | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment