Comment accéder à la fonction définie dans Model Rails
NameOfModel.function_name should give you access to the function.
Easy Eel
NameOfModel.function_name should give you access to the function.