Thist post shows common tasks to integrate a gem/engine with the main Rails application.
it shows solutions to such common problems as:
– improving (extending or overriding) Engine functionality in the main app;
– extend controller defined in Engine;
– use app helpers in Engine;
Find it on github.