]> git.openstreetmap.org Git - rails.git/commitdiff
Rename User#delete to User#destroy
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Dec 2021 11:32:33 +0000 (11:32 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 22 Dec 2021 11:32:33 +0000 (11:32 +0000)
"delete" is generally used for immediate SQL deletion without running
any callbacks or other ruby code, whereas "destroy" will trigger callbacks.

Although we don't currently use any callbacks, let's rename this method to
align better with the convention.


No differences found