Rails Full Engine using a Full Engine
- by SirLenz0rlot
I've got this full rails engine Foo with functionality X.
I want to make another engine, engine Bar, that is pretty much the same, but override funcitonality x with y.
(it basically does the same, but a few controller actions and views are differently implemented).
(I might split this later in several mountable engines, but for now, this will be the setup:
project Baz, using engine Bar, which uses engine Foo)
I would like to know if there are any pitfalls. It doesn't seem like a pattern that is often used?
Anybody else using this 'some sort of engine inheritance'?