Como acessar a função definida em trilhos do modelo
NameOfModel.function_name should give you access to the function.
Easy Eel
NameOfModel.function_name should give you access to the function.