Currently, if you got that plugin installed and change code in development in Discourse, you will see an error like:
undefined method can_vote?’`
A reason for that was incorrectly defined
reloadable_patch block. That block defines everything which should be reloaded by ActiveSupport::Reloader if code is changed.
because that was not included in that block
class ::Category def self.can_vote?(category_id) end end
can_vote? was not anymore available.