Skip to content

Instantly share code, notes, and snippets.

@jpemberthy
Created July 2, 2009 20:22
Show Gist options
  • Save jpemberthy/139694 to your computer and use it in GitHub Desktop.
Save jpemberthy/139694 to your computer and use it in GitHub Desktop.
test user
INSERT into people (first_name, last_name, login, access_level, type, timezone, salt, crypted_password, activated_at ) values ('juan', 'pemberthy', "jpemberthy", "admin", "User", "Pacific Time (US & Canada)", "cfc5a1bf387c1d2b3356859e21b9c390879928cf", "6815e1f121fe06ec575eb9577c90d6f4bb0eca1b", "2009-07-02 14:11:11" )
test rel
r = Relationship.new(:relationship_type_id => 28, :contact_id => 717641310, :client_id => 94, :primary => false, :message_visible => true)
another rel
r = Relationship.new(:relationship_type_id => 2, :contact_id => 717641310, :client_id => 9, :primary => true, :message_visible => true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment