projecttacoma/bonnie — pull request #298 by dmpotter44 (2014-06-04 15:45:26+00:00)
Title: User can delete own account

This is a very simplistic implementation of allowing a user to delete their own account. It does ask for confirmation before deleting, but it uses the built-in "data-confirm" system to display a JavaScript "confirm" dialog asking for confirmation. I'm not sure I really like that method since it seems like it would make deleting your account too easy.

I'm also not entirely sure that this properly propagates deleting all associated data - it just uses Devise's built-in delete support.

However, I figured I might as well open the pull request so there's a starting point for getting everything ready to go.