AFAIK there isn’t any discourse-specific logic here. My guess would be that the task files are autoloaded if you defined a ::Rails::Engine for your plugin?
AFAIK there isn’t any discourse-specific logic here. My guess would be that the task files are autoloaded if you defined a ::Rails::Engine for your plugin?