Files
danbooru/app/models
evazion 44f6673d94 Post#expunge!: run callbacks when reparenting children.
* Set parent IDs with `update` instead of `update_column` /
  `update_all` when reparenting children. This fixes it so that new post
  versions are saved and the has_children flag is set on the new parent.

* Slightly simplify logic of update_children_on_destroy: the single
  child case is subsumed by the multi-child case.
2017-07-21 00:13:20 -05:00
..
2017-06-29 13:09:33 -07:00
2017-07-12 15:52:48 -07:00
2017-06-19 18:22:58 +05:00