Added generate to rails