Shai Rosenfeld wrote:
ControllerAthing::a_method #this is what i want to do
but when i do that i can an error:
undefined method `a_method' for ControllerAthing:Class
Because you're treating #a_method as a class method when it is an
Put #a_method into app/controllers/application.rb instead. This file
defines the class ApplicationController which your other controllers
inherit from, so this will make the method available in all controllers.