class ApplicationController < ActionController::Base include Rackamole::Interceptor helper :all # include all helpers, all the time protect_from_forgery # See ActionController::RequestForgeryProtection for details # Scrub sensitive parameters from your log # filter_parameter_logging :password before_filter :setup def setup session[:user_name] = "Fernand" end protected def local_request? return false end end