On Friday, 17 August 2012 01:19:52 UTC-4, Fahim Patel wrote:
>
>
> one more example
> rails destroy controller testing
>       remove  app/controllers/testing_controller.rb
>       invoke  erb
>       remove    app/views/testing
>       invoke  rspec
>       remove    spec/controllers/testing_controller_spec.rb
>       invoke  helper
>       remove    app/helpers/testing_helper.rb
>       invoke    rspec
>       remove      spec/helpers/testing_helper_spec.rb
>       invoke  assets
>       invoke    coffee
>       remove      app/assets/javascripts/testing.js.coffee
>       invoke    scss
>       remove      app/assets/stylesheets/testing.css.scss
>
> there is no testing controller prsent.....
> this thing is happen with all directory structure....
> scaffold also  do the same thing......
>
> there should be any exception or error ??????????
>
>
No - the generator output is (slightly) confusing, but raising an exception 
in these cases would mean that you wouldn't be able to use 'destroy' to 
clean up after a generator if you'd manually removed any of the files it 
had created.

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/euGp2xhJh9gJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to