Redirect_to ... re-directing to the action you are currently in

I am banging my head against a wall here.

I am in index

in index I check if it was the first time index has been called for
the app.

if so I make some changes to the db and redirect_to right back to

But… all heck seems to break loose. It seems when I redirect_to it
just kinda continues from the point of the redirect_to call. It does
not seem as though the action has been called fresh and the code run
from the beginning of the action.

Any know of any issues I may be overlooking when in index … and
then call redirect_to :action => :index