bug fix - config.generators is removed in newer versions of Rails