I am creating Rails Engine to bundle my data layer which can be shared between 2 Rails applications. As this is legacy application, lot of helper functions are defined in the fo