Oops Scratch previous point #1 Hmm. That is odd - I searched for heroku on github and this didn't come up...
--Keenan On Sep 15, 2009, at 5:09 AM, Sarah Allen wrote: > > Yeah, I actually totally munged the live DB right after we went live > (luckily before we told anyone about the site and we had all the data > backed up). I agree that some kind of are-you-sure would be the right > answer. Kind of like 'rm -i' but on by default -- there could be a -f > option to suppress the warning. The gem is open source... I don't > know offhand how to add an interactive prompt to a rake task, but I > suppose it could be added here: > http://github.com/heroku/heroku/blob/master/Rakefile > > I'm clearly not getting enough sleep this week, so for now I try to be > quite cautious when I type heroku in particular directories, but > eventually I won't be able to live with that :) > > On Sep 15, 2009, at 1:45 AM, Neil wrote: > >> >> At the very least I would expect some sort of "This is a live >> environment - are you really, really sure you want to do this?" on >> the >> app changing actions. (db:push, db:reset etc, similar to destroy) >> >> N >> >> >> On Sep 11, 3:14 pm, Carl Anderson <[email protected]> wrote: >>> That was something I was wondering as well. I've literally had >>> nightmares >>> about doing just that (am I alone?) >>> >>> Carl >>> >>> On Fri, Sep 11, 2009 at 4:03 AM, Neil <[email protected]> >>> wrote: >>> >>>> I'm not sure if someone has already covered this, but although >>>> there >>>> are loads of really handy features in the Heroku gem, some of the >>>> functions that you can acheive are potentially very damaging to a >>>> production environment and also very easy to do. >>> >>>> For instance, from what I've seen there is nothing to stop me from >>>> doing a db:push to my live application - there's no sort of >>>> question >>>> of confirmation etc. >>> >>>> Is this something that's planned or is it something I've just not >>>> seen? >>> >>> >>> > > http://www.ultrasaurus.com > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
