Closed cainlevy closed 7 years ago
closes #14
DELETE /accounts/:id
Will archive the account by clearing all personal information -- especially username and password -- and preventing the account from being reused.
Care must now be taken to use an Account.active.find(id) pattern. I'm wary of Rails' default_scope behavior, and wish to avoid it..
Account.active.find(id)
default_scope
closes #14
New Private API
DELETE /accounts/:id
Will archive the account by clearing all personal information -- especially username and password -- and preventing the account from being reused.
Notes
Care must now be taken to use an
Account.active.find(id)
pattern. I'm wary of Rails'default_scope
behavior, and wish to avoid it..