rails/rails — Issue #4764: Unexpected destroy scaffold behaviour
Author: jamiebuchanan
Created: 2012-01-30 18:04:26+00:00
State: open

If we had the following in routes.rb

resources :posts
resources :categories
resources :authors

and invoked 'rails destroy scaffold category' the following occurs

resources :posts resources :authors

The whitespace/newline issue causes a syntax error in routes.rb

Should expected behaviour be to retain existing newlines and whitespace?