Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Todd Holdman's Profile

GitHub User: cernalpanic

Comments by Todd Holdman


+1. Just hang in there. I was getting nervous because the server had actually been running (green light in the UI) on AWS for awhile. It did eventually kick in.


Could be my setup but Mercury is running 'onload' twice. i had to do one of these:

       var link = $('#mercury_iframe').contents().find('#edit_link');
         if (typeof'save-url') != 'undefined') {
             console.log('only set saveUrl if it exists');
             Mercury.saveUrl ='save-url');
        console.log(Mercury.saveUrl); //<-- should be valid