Deleting a Model/migration/table

rails destroy model model_name

I have tried to delete a model hoping it would destroy the corresponding
table too…
but i see that the table isnt deleted…

Can you guys help me out to find a correct way to delte a model and a
table.

the destroy task generates migrations. you should do rake db:migrate
after
running the destroy task.

2011/9/29 Siddharth R. [email protected]omain.invalid

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs