I just created new a rails app and ran this scaffold command:

```
rails generate scaffold User name:string age:integer

```

Then i ran:

`rake db:migrate` command. 

I uploaded it to github and from it to heroku. However `Destroy` method works in me local machine but on heroku when I click to to destroy link it goes to show method and show the data(user). 

I am using ubuntu 14.04(on windows 7), rails 3.2.7, ruby 1.9.3.

[The app link on github](https://github.com/junan/haha)