update for Rails-2.3.15