Am I crazy?

If I can't put global methods in application.rb, where do I put them, and how do I call them? And shouldn't this work? Is there anyplace I can see where Rails is looking for this method?

Maybe you just need to give ruby an object to send this method to?

C:\rails\test>ruby script/console Loading development environment.


=> Object


NameError: undefined local variable or method `msg' for #<Object: 0x284fa38>         from (irb):2

a =

=> #<ApplicationController:0x48c3ad0>


=> "msg"