"undo" a model

In the event that I really don’t want a certain model, can I delete it?
Is there a tool that I can use besides ‘rm’ to ensure I hit everything
related to the model?
Right now my only guess is to just remove all files that match a
filemask and hope for the best.

On 8/8/06, Tom A. [email protected] wrote:

In the event that I really don’t want a certain model, can I delete it?
Is there a tool that I can use besides ‘rm’ to ensure I hit everything
related to the model?
Right now my only guess is to just remove all files that match a
filemask and hope for the best.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

rails script/destroy model Foo

http://lists.rubyonrails.org/pipermail/rails/2006-May/043105.html

rails script/destroy model Foo

ruby script/destory model Foo

/anal retention off

On 8/8/06, Dr Nic [email protected] wrote:


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Thanx for that :slight_smile:

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