Как получить доступ к функции, определенной в модельных рельсах

NameOfModel.function_name should give you access to the function.
Easy Eel