Skip to content

Conversation

@sarbadaj
Copy link

feat(active_prompt): add and finalize mountable Rails engine (#243)

  • Add ActivePrompt engine (engine.rb, version.rb, module)
  • Isolate namespace via `isolate_namespace`
  • Wire asset pipeline (JS/CSS + manifest) and precompile hooks
  • Add engine routes with GET /health (no optional format)
  • Add minimal controller/helper stubs
  • Mount engine in dummy app and load engine before routes
  • Define `ActiveAgent::TestCase` to satisfy Zeitwerk
  • Add Minitest coverage: engine load/isolation, routes, assets
  • Stabilize route tests (assert named route and exact path)
  • Test hygiene: clean tmp/generators and remove lingering constants to avoid generator collisions

…gents#243)

- Add ActivePrompt engine (engine.rb, version.rb, module)
- Isolate namespace via \`isolate_namespace\`
- Wire asset pipeline (JS/CSS + manifest) and precompile hooks
- Add engine routes with GET /health (no optional format)
- Add minimal controller/helper stubs
- Mount engine in dummy app and load engine before routes
- Define \`ActiveAgent::TestCase\` to satisfy Zeitwerk
- Add Minitest coverage: engine load/isolation, routes, assets
- Stabilize route tests (assert named route and exact path)
- Test hygiene: clean tmp/generators and remove lingering constants to avoid generator collisions
@sarbadaj sarbadaj changed the title Create Rails Engine structure for ActivePrompt #243 Create the foundational Rails engine structure for ActivePrompt #243 Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants