Add support for rails 2.3.X