Undefined method `relative_url_root'

Anyone has come across the problem?
I’m using rails 2.3.4

I’ve searching by the google. I found someone come across the problem
with 2.2.2.
they’ve solve this problem in their version. But I can’t solve it by
doing the same thing.

Anyone know why?