]> cat aescling's git repositories - mastodon.git/commit
Fix /admin/tags/:id crashing since Rails 6.1 update (#15953)
authorClaire <claire.github-309c@sitedethib.com>
Fri, 26 Mar 2021 17:36:16 +0000 (18:36 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Mar 2021 17:36:16 +0000 (18:36 +0100)
commita650a1157d5b71bc5718759643fe5bb572b16a8b
treeecf2c5696521b912c578b90543cedd0e202db4d3
parent59f94593d059239c28ab5fb8e2a0c23ce2590254
Fix /admin/tags/:id crashing since Rails 6.1 update (#15953)

Raw SQL passed to `pluck` now has to be explicitly marked as SQL via
Arel.sql, see https://github.com/rails/rails/pull/27947
app/controllers/admin/tags_controller.rb
spec/controllers/admin/tags_controller_spec.rb