Files
danbooru/app/views
evazion 3290f5550a post_versions/_listing.html.erb:40: fix N+1 queries in "Undo" link.
post_version.post.versions.first.id caused an extra query for each post version:

    SELECT "post_versions".* FROM "post_versions" WHERE "post_versions"."post_id" = $1 ORDER BY updated_at ASC, id asc LIMIT 1
2017-03-02 17:46:14 -06:00
..
2016-07-25 13:42:04 -07:00
2013-09-17 11:31:11 -04:00
2016-02-05 14:17:26 -08:00
2017-01-24 13:13:13 -08:00
2017-01-12 09:15:14 +00:00
2016-12-02 13:11:10 -08:00
2013-02-23 12:21:27 -05:00
2015-06-29 18:17:59 -07:00
2017-01-16 12:57:43 -08:00
2017-02-28 15:34:40 -08:00
2015-06-10 17:28:51 -07:00
2017-02-21 16:41:35 -08:00
2013-06-21 13:26:48 -07:00
2013-06-21 13:26:48 -07:00
2016-12-02 13:52:39 -08:00