Generate rails 3