Open woodhull opened 1 year ago
Ah that's a weird one! The turbo thing, at least — I do need to update the configuration file (this was made hastily in a recent railshackathon.com-thon).
I think this might be happening from one of your background jobs indeed. How are you rendering the templates? Are you using ApplicationController.render
or perhaps render_to_string
? Curious to see add_card_to_stage.rb
and if you're invoking any callbacks before render.
There are a pair of callbacks that are invoked by AhoyCaptain that check if the request is a turbo request or one that it could handle: https://github.com/joshmn/ahoy_captain/blob/main/app/controllers/ahoy_captain/application_controller.rb#L31 (also L38)
If you can provide some insight to those I can probably track this down fairly quickly :)
should be
Docs imply that I should run a generator to add additional indexes, but this task does not exist.
We do not use the
turbo
gem in our application. We do render some templates in background jobs. After installing theahoy_captain
gem those jobs get errors like this:I'm not clear on why adding the ahoy_captain gem causes
turbo
gem code to be called outside of the engine itself.