Use "script/destroy scaffold client admin"

If you can create it with 'script/generate', you should be able to 
destroy it with 'script/destroy'. However, there's an inherent 
inconvenience if you use this with an entity that creates a migration 
(e.g. model, scaffold).

Once you rake the migration, it should be in your schema, so if you 
destroy that migration and put another one with the same name (but 
different timestamp) in its place, I'm not sure whether raking will work 
properly. You might have to change your schema or database manually 
before raking will work.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to