Ruby on Rails
Sunday, September 2, 2012
On Friday, 17 August 2012 01:19:52 UTC-4, Fahim Patel wrote:
one more examplerails destroy controller testingremove app/controllers/testing_controller.rb invoke erbremove app/views/testinginvoke rspecremove spec/controllers/testing_controller_spec.rb invoke helperremove app/helpers/testing_helper.rbinvoke rspecremove spec/helpers/testing_helper_spec.rb invoke assetsinvoke coffeeremove app/assets/javascripts/testing.js.coffee invoke scssremove 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment