let me explain this problem ........-------------------rails destroy----------------------------this command destroy model,scaffold etc .....problem is that if a model or other structure is exist than ,this command will destroy all the related file to it.......good ..till now no problem...........but problem is that if a model etc is not exist than till this command remove the file ...it should not be done.....there is no such a file name exist..........some error or exception should be execute at this time ....i think this a problem???if not than expalin me..........
RegardsFahim Babar Patel
--RegardsFahim Babar Patel
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/uAJe7mwsZkEJ.
For more options, visit https://groups.google.com/groups/opt_out.
let me explain this problem ........-------------------rails destroy----------------------------this command destroy model,scaffold etc .....problem is that if a model or other structure is exist than ,this command will destroy all the related file to it.......good ..till now no problem...........but problem is that if a model etc is not exist than till this command remove the file ...it should not be done.....there is no such a file name exist..........some error or exception should be execute at this time ....i think this a problem???if not than expalin me..........
RegardsFahim Babar Patel
--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/l8a8h9EFxqgJ.
one more examplerails destroy controller testingremove app/controllers/testing_controller.rbinvoke erbremove app/views/testinginvoke rspecremove spec/controllers/testing_controller_spec.rbinvoke helperremove app/helpers/testing_helper.rbinvoke rspecremove spec/helpers/testing_helper_spec.rbinvoke assetsinvoke coffeeremove app/assets/javascripts/testing.js.coffeeinvoke scssremove app/assets/stylesheets/testing.css.scssthere 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 ??????????