Files
danbooru/test/unit
evazion 51ba56e8a3 Fix #5001: Media assets not searchable through upload records.
Fix this:

  https://danbooru.donmai.us/uploads.json?search[media_assets][md5]=b83daa7f1ae7e4127b1befd32f71ba10

failing with an ActiveRecord::StatementInvalid error.

The bug was that for a `has_many through: ...` association, like
`has_many :media_assets, through: :upload_media_assets`, we weren't
joining on the associated table properly so we ended up generating
invalid SQL.
2022-02-08 19:18:11 -06:00
..
2020-03-21 21:07:35 -05:00
2022-02-05 09:43:17 +01:00
2020-06-20 00:20:39 -05:00
2022-01-15 22:02:47 -06:00
2021-01-11 05:12:09 -06:00
2021-12-09 13:20:26 -06:00
2022-01-15 23:20:49 -06:00