Sometimes I run a command like rails g controller foo index to generate skeletons for controller and template.
rails g controller foo index
Because I don\'t want to have helpers and
This is counter intuitive, but here it is what you're looking for:
config.generators do |g| g.skip_routes true end