# Filters added to this controller will be run for all controllers in # the application. Likewise, all the methods added will be available # for all controllers. class ApplicationController < ActionController::Base session :disabled => true def sort_key(key_sym, key_sql) params[key_sym].split(".").map{ |k| key_sql[k] }.join(",") end end