hii friends,,,,,i m new to rails......i think there is a problem in destroy command .

I am not sure what you are saying. Can you post an example and the result and explain what you think should happen. Run the command and copy and paste the result here. Showing an example is always better than trying to explain it in words in a languaget that is not your first language.