there is somthing, that I do not understand.
class MyController < ApplicationController
redirect_to :action=> "index" unless params[:id]
my_model = MyModel.find(params[:id])
when I try to call "my_controller/my_def" without an id in y browser,
then the find-statement will is evaluated why?!?