FlexImage issue with belong_to model in session

This is related to flexImage I beleive. Any ideas?

My bad, I did a redirect_to instead of render...

/Carl