Use rails 3