Ruby on Rails Friday, August 31, 2012

On 31 August 2012 15:03, Fahim Patel <pafahim@gmail.com> 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..........

I think the most likely cause is that the keys on your keyboard are
sticking down causing all the repeated characters.

If you are referring to the fact that rails destroy attempts to delete
all the files that generate creates then that is just the way it is.
I don't think anyone really cares much how rails destroy works as it
is virtually never used. I don't think I have ever used it. If you
want to remove stuff you can just delete the files you don't want.

Colin

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

No comments:

Post a Comment