rails 2.3.15 conversion - 2