This project is archived and is in readonly mode.
Add Drop Confirmation to Rake Tasks
Reported by blaines | August 24th, 2009 @ 07:53 AM
db:schema:load just killed all the rows in my db.
-Solution-
All rake tasks should confirm deletions, drops, and etc...
A -f option could bypass confirmations.
Example:
rm README
rm: remove regular file README'?
Comments and changes to this ticket
-
Betelgeuse August 24th, 2009 @ 08:56 AM
Your README example is flawed. Your rm is aliased to rm -i.
betelgeuse@pena ~/test $ rm -i foo.txt rm: remove regular file
foo.txt'? y betelgeuse@pena ~/test $ touch foo.txt betelgeuse@pena ~/test $ rm foo.txt betelgeuse@pena ~/test $ type rm rm is hashed (/bin/rm)</code> </pre> Tradionally unix utilities assume you know what you are doing. -
CancelProfileIsBroken September 25th, 2009 @ 12:45 PM
- State changed from new to wontfix
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>