← Graph

Rails Engine

concept 6 connections

Rails feature providing a miniature Rails application — with its own routes, models, controllers, views, helpers and assets — that can be mounted inside a host ('parent') Rails application at a chosen path. Generated with `rails plugin new NAME --mountable`; the generator also produces a `test/dummy` app to run and test the engine in isolation. Engines are appropriate for separating first-class domains inside a monolith (e.g. buyer vs seller back-offices in a marketplace) and for distributing reusable Rails functionality as gems (admin panels, auth flows, etc.).

category
architecture
The talk's core subject is how to build, ship, and maintain Rails engines.
about
Rails Engine concept
Question compares engines to simple namespaces.
about
Rails Engine concept
Question concerns engines specifically.
about
Rails Engine concept
Question concerns sharing data across engines.
about
Rails Engine concept
Chikahiro's SSO refactor used a Rails engine with a separate database to extract user responsibilities.
tool Avo
uses
Rails Engine concept
Avo is distributed as a mountable Rails engine.

Provenance

Read by
6 extractions