rails 3 compatible