锦心 6bf3ac7426
FIX: Fix user_id validation (#312)
Validation of `user_id` parameter will throw a 500 error because
`User.find_by_username_or_email` does not throw
`ActiveRecord::RecordNotFound`, but silently returns `nil`.
This results in a `NoMethodError` in `object.id` on the next line
2024-08-21 12:03:29 +08:00
2024-08-20 17:54:06 +02:00
2024-08-21 12:03:29 +08:00
2024-08-21 12:03:29 +08:00
2023-12-01 16:47:54 +01:00
2023-12-01 16:47:54 +01:00
2022-02-21 20:59:32 +01:00

Data Explorer Plugin

This plugin allows admins to run SQL queries against the live Discourse database, including parameterized queries and formatting for several common column types.

For more information, please see: https://meta.discourse.org/t/data-explorer-plugin/32566

Description
SQL Queries for admins in Discourse
Readme MIT 3.5 MiB
Languages
Ruby 56.4%
JavaScript 33.9%
Handlebars 7%
SCSS 2.7%