Okay, generator is now working in rails 4!