Skip to content

Instantly share code, notes, and snippets.

View attaboy's full-sized avatar

Luke Andrews attaboy

View GitHub Profile
@rxtphan
rxtphan / gist:ecf609fad66818eb27f4
Last active August 29, 2015 14:14
How to get into revenue flows on local
Client upsells
==============
- this doesn't seem to work with @change.org accounts, so user a non-change user
- delete the browser cookie: prompted_petition
- in the change_production repo, open the rails console with: `bundle exec rails c`
- create a petition that has 100+ signatures: `FactoryGirl.create(:lead_in_petition)`
- get the id of the last petition: `Petition.last.id`
- navigate to http://local-change.org/p/:id and sign the petition
- you can tell you are in client upsells by the text at the top "You might also like this *suggested* petition