Displaying 1 result from an estimated 1 matches for "curimg".
Did you mean:
c_img
2006 Jun 28
2
NoMethodError when setting session variable
.../vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!''
/vendor/rails/railties/lib/fcgi_handler.rb:23:in `process!''
dispatch.fcgi:25
Here is my Controller Code:
class ImageController < ActionController::Base
def initialize
session[''curimg''] = Time.now
end
def showtime
render_text session[''curimg'']
end
Can anyone see what I am doing wrong??
--
Posted via http://www.ruby-forum.com/.