Sam
d5ecf8e8c2
FIX: properly clean out post and user actions on destroy user
...
This corrects 2 issues:
First is a regression with d7c08e21 for some reason dependent :delete_all
respects default scopes where-as dependent :destroy bypasses it.
Secondly, we were keeping orphan user actions around on user destroy, this
ensures we remove all the user actions not only ones that originated by
the user.
So for example: if I like a post of user A we create a user action saying I
did that, but once user A is deleted we were not removing the action leading
to an orphan action in the database.
2019-01-17 12:40:30 +11:00
..
2015-12-01 20:39:42 +00:00
2019-01-09 08:46:11 +08:00
2017-07-24 21:46:08 +09:00
2018-11-08 02:51:42 +01:00
2018-10-16 10:42:16 +11:00
2017-09-20 00:51:32 -03:00
2017-12-20 13:58:05 +11:00
2016-01-08 20:43:11 +05:30
2018-10-26 11:34:39 +11:00
2018-12-21 09:29:54 +05:30
2018-05-31 16:23:23 +08:00
2018-08-24 11:30:00 +10:00
2018-10-15 11:16:26 +08:00
2018-10-15 11:16:26 +08:00
2017-07-28 10:20:09 +09:00
2016-03-02 15:43:47 -05:00
2018-11-12 15:30:05 +01:00
2018-09-11 08:24:02 +10:00
2017-09-25 13:49:00 +08:00
2018-08-02 07:41:27 +10:00
2016-12-21 17:47:11 +08:00
2019-01-10 10:05:56 +08:00
2017-07-28 10:20:09 +09:00
2017-12-12 20:17:46 +01:00
2017-06-13 14:10:26 -04:00
2017-07-24 12:11:10 -04:00
2017-11-16 08:39:29 +11:00
2017-07-28 10:20:09 +09:00
2018-11-26 16:49:57 -05:00
2017-04-20 15:47:35 -04:00
2018-09-04 12:28:32 +10:00
2018-11-19 12:20:05 +01:00
2018-12-11 00:09:53 +01:00
2018-12-11 00:09:53 +01:00
2018-10-18 17:05:34 +11:00
2018-01-25 14:57:41 +01:00
2017-05-05 12:21:50 +08:00
2019-01-16 17:08:59 +08:00
2019-01-03 17:07:30 +11:00
2015-12-01 20:39:42 +00:00
2018-08-01 18:42:40 +02:00
2019-01-16 16:17:04 +08:00
2016-01-08 20:43:11 +05:30
2018-03-28 12:32:16 -04:00
2015-12-01 20:39:42 +00:00
2019-01-02 17:27:08 +01:00
2019-01-10 10:05:56 +08:00
2016-07-13 17:34:21 +02:00
2019-01-04 09:24:46 +11:00
2017-11-17 16:08:46 -05:00
2015-12-01 20:39:42 +00:00
2018-07-26 10:29:38 +05:30
2018-07-10 16:17:28 +08:00
2018-09-17 09:49:53 +10:00
2018-12-28 20:48:54 +01:00
2017-07-10 15:36:38 +02:00
2017-07-24 12:11:10 -04:00
2018-03-19 14:34:43 -04:00
2017-07-28 10:20:09 +09:00
2018-12-19 02:45:48 +05:30
2019-01-11 15:46:58 +08:00
2018-08-08 14:46:34 +10:00
2018-07-24 13:14:37 +08:00
2018-09-14 12:54:11 +10:00
2018-05-16 09:48:19 +02:00
2018-11-12 16:24:34 +00:00
2018-05-31 16:23:23 +08:00
2018-11-01 16:01:46 -04:00
2019-01-15 15:55:32 +05:30
2018-04-26 17:24:16 +10:00
2017-07-28 10:20:09 +09:00
2015-12-01 20:39:42 +00:00
2018-07-04 09:31:16 -04:00
2018-08-28 16:25:04 +10:00
2018-06-07 14:21:33 +10:00
2015-12-01 20:39:42 +00:00
2018-12-11 18:03:13 +11:00
2019-01-03 17:29:22 +05:30
2018-03-13 13:06:58 +05:30
2015-12-01 20:39:42 +00:00
2015-12-01 20:39:42 +00:00
2018-12-05 16:43:07 +01:00
2018-02-22 20:27:02 +05:30
2018-08-14 12:43:57 +02:00
2018-09-04 10:16:42 +08:00
2018-12-04 11:48:13 +08:00
2018-06-12 12:43:56 +10:00
2018-03-16 22:10:19 +01:00
2018-04-25 13:39:45 +08:00
2016-06-17 11:28:49 +10:00
2018-12-26 17:19:29 +02:00
2018-06-20 17:53:49 +10:00
2017-07-28 10:20:09 +09:00
2018-03-06 18:15:21 +08:00
2018-11-12 15:34:12 +01:00
2018-12-13 16:26:07 +11:00
2015-12-01 20:39:42 +00:00
2018-07-16 11:09:49 +08:00
2018-06-05 09:43:40 +08:00
2017-07-28 10:20:09 +09:00
2015-12-01 20:39:42 +00:00
2018-10-10 17:34:33 -04:00
2018-08-16 13:45:30 +02:00
2018-05-25 15:54:14 +10:00
2017-11-19 01:17:31 +01:00
2018-06-28 10:12:32 +02:00
2019-01-17 12:40:30 +11:00
2018-12-03 08:35:26 +11:00
2018-12-25 01:04:55 +05:30
2017-07-28 10:20:09 +09:00
2015-12-01 20:39:42 +00:00
2018-01-09 16:51:59 -05:00
2018-03-22 15:41:02 -04:00
2017-11-08 14:11:01 +08:00
2018-11-01 09:59:50 -04:00