I am very new to ruby. I have one doubt, how to call a controller method from a view.
my controller
def course_user_count @courses
declare method name as the helper method
In the view call the method as
<% count = course_user_count %>