pre rails 4.0