Ruby on Rails Friday, August 31, 2012

On Friday, 31 August 2012 09:03:40 UTC-5, Fahim Patel wrote:

can one explain this issue?

On Thursday, August 16, 2012 10:33:47 AM UTC+5:30, Fahim Patel wrote:
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..........

It's not deleting anything.  Even though it claims it is it's just cruft in the terminal.  It's impossible to delete something that doesn't exist, well I should not say impossible as anything is possible but none-the-less the cruft is still outputted even if it does not delete anything.  Perhaps you should file a rails bug and ask them to adjust the message to imply "trying" instead of implying "doing". 

--
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/-/l8a8h9EFxqgJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment