Skip to content

Instantly share code, notes, and snippets.

David Pitman edave

  • Seattle, WA
Block or report user

Report or block edave

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

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 — forked from outoftime/config.rb
Support for Heroku pgbackups in Backup library
View config.rb
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
View gist:812076
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
You can’t perform that action at this time.