I am new to Ruby and RoR. I am not really understand how the controllers work.
I have an action in ApplicationController
def some_checking
...
end
And I would like to call the action some_checking in another controller
class OtherController < ApplicationController
some_checking
def xxx
end
end
Is there anything wrong? How can I call an action in ApplicationController? I just can't get into some_checking.