discourse/plugins/poll/app
Sam cdb7094692
FIX: match ActiveRecord#reload signature in overrides (#38639)
The `reload` method overrides in `User`, `ReactionUser`, and
`Poll` did not accept an `options` parameter, diverging from
the `ActiveRecord::Base#reload(options = nil)` signature.

This caused `ArgumentError` when calling `reload(lock: true)`
or passing any other options to these models.

Update all three overrides to accept `options = nil` and add
tests to prevent future regressions.
2026-03-17 09:10:34 +11:00
..
controllers/discourse_poll SECURITY: Add post visibility check to poll voters endpoint 2026-02-26 12:22:54 +00:00
models FIX: match ActiveRecord#reload signature in overrides (#38639) 2026-03-17 09:10:34 +11:00
serializers FEATURE: dynamic poll support (#34368) 2025-08-19 16:43:36 +10:00