You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The syntax for the template configuration file is wrong.
AhoyCaptain.configure
should be
AhoyCaptain.configure do |config|
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 the ahoy_captain gem those jobs get errors like this:
NoMethodError:
Could not render layout: undefined method `headers' for nil:NilClass
# /usr/local/bundle/gems/turbo-rails-1.4.0/app/controllers/turbo/frames/frame_request.rb:34:in `turbo_frame_request_id'
# /usr/local/bundle/gems/turbo-rails-1.4.0/app/controllers/turbo/frames/frame_request.rb:30:in `turbo_frame_request?'
# /usr/local/bundle/gems/turbo-rails-1.4.0/app/controllers/turbo/frames/frame_request.rb:24:in `block (2 levels) in <module:FrameRequest>'
# ./app/sidekiq/add_card_to_stage.rb:11:in `perform'
I'm not clear on why adding the ahoy_captain gem causes turbo gem code to be called outside of the engine itself.
The text was updated successfully, but these errors were encountered:
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.
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.The text was updated successfully, but these errors were encountered: