Hi, I believe I found my solution in Where to put boilerplate code used in templates - #2 by efranz.
Using classes in a .rb file in initializers should do it.
Hi, I believe I found my solution in Where to put boilerplate code used in templates - #2 by efranz.
Using classes in a .rb file in initializers should do it.