Cara Mengakses Fungsi yang Ditentukan dalam Model Rails
NameOfModel.function_name should give you access to the function.
Easy Eel
NameOfModel.function_name should give you access to the function.