Correspond to rails 2.x