To extend sessions in my class I must do this in rails:
I am new to Ruby Also. Why must I use the :: operator to access ActionController? And doesnt rails have an instance of CgiRequest with @request? Why Cant I use that?Code:class ApplicationController < ActionController::Base model :user before_filter :verify_user def verify_user ::ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:session_expires => 1.hour.from_now) ... end end





Bookmarks