Skip to content

Instantly share code, notes, and snippets.

@lscott3
Created September 12, 2013 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lscott3/6532653 to your computer and use it in GitHub Desktop.
Save lscott3/6532653 to your computer and use it in GitHub Desktop.
user_id = connection.insert("INSERT INTO users (prefix, first_name,
middle_name, last_name, suffix, nick_name, email, password,
individual_id, account_id, avectra_id) VALUES (#{prefix},
#{first_name}, #{middle_name}, #{last_name}, #{suffix}, #{nick_name},
#{email}, #{password}, #{individual.id}, #{Account.first.id},
#{row['ind_cst_key']}) RETURNING id")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment