Skip to content

Instantly share code, notes, and snippets.

@endash
Created August 14, 2013 23:22
Show Gist options
  • Save endash/6236760 to your computer and use it in GitHub Desktop.
Save endash/6236760 to your computer and use it in GitHub Desktop.
if existing_user
return unless existing_user.claimed?
existing_user.transfer_and_destroy!(:destination_user => user)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment