Always passing the same params

You can store all those variables in a session variable. Sessions
allow you to store variables between requests, and give you 'state'.

In your controllers, you can assign a session variable:

def index
  session[:my_first_setting] = nil

def change_setting
  session[:my_first_setting] = params[:setting1]

def search
  order = session[:my_first_setting] ? "updated_at DESC" : "updated_at
  @results = Items.find(:all, :order => order)

You can store almost any data object in a session hash.

You can use flash (ie. flash[:my_variable] = my_data) to pass
information from one action to the next. Be careful how you use it. I
have ran into some problems passing variables back to the same action
using different request methods.