Brian Ablaza wrote the following on 03.05.2007 22:28 :
OK, so I created a new dummy app. Here's the entire application.rb file:
class ApplicationController < ActionController::Base # Pick a unique cookie name to distinguish our session data from others' session :session_key => '_test_session_id'
def msg return "msg" end
I go into the console, and type
NameError: undefined local variable or method `msg' for #<Object:0x1f69f4> from (irb):1
This should be your hint, try : class Object def msg return "msg" end end in environment.rb for example.
But this isn't really what you want.