Skip to content

v1.0.7 - Fix Dashboard MissingExactTemplate error

Choose a tag to compare

@reillyse reillyse released this 16 Jan 04:18
· 34 commits to main since this release

Bug Fix

This release properly fixes the Dashboard views not being found (MissingExactTemplate error).

Changes

  • Moved views from lib/ to app/views/ (standard Rails engine structure)
  • Added prepend_view_path Engine.root.join("app", "views") to ApplicationController
  • Updated gemspec to include app/**/* in files array
  • Fixed layout path reference to solid_queue_autoscaler/dashboard

The Fix

Rails engines with isolate_namespace don't automatically propagate view paths to controllers. The fix explicitly adds the engine's view paths to the ApplicationController.

Installation

gem "solid_queue_autoscaler", "~> 1.0.7"