Skip to content

Instantly share code, notes, and snippets.

View edave's full-sized avatar

David Pitman edave

  • Seattle, WA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am edave on github.
  • I am edave (https://keybase.io/edave) on keybase.
  • I have a public key whose fingerprint is B0CF 3434 F889 CE5A B1CF 3067 AFB3 6778 727A 26A1

To claim this, I am signing this object:

@edave
edave / config.rb
Created May 10, 2011 02:14 — forked from outoftime/config.rb
Support for Heroku pgbackups in Backup library
require './lib/backup/database/heroku_pgbackups.rb'
Backup::Model.new(:heroku, 'Heroku hosted data') do
database Backup::Database::HerokuPgbackups do |db|
db.name = 'my-heroku-app-name'
end
# Followed by other databases, storage, compression, etc.
end
include AASM
aasm_column :current_state
aasm_state :active
aasm_state :free_trial
aasm_state :disabled #this is for accounts that have exceed free trial and have not paid
aasm_state :payment_failed
#aasm_state :free_acct