Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

'Welcome Aboard' page's 'About your application’s environment' ajax link broken

#3818

On a new rails 3 app, on the 'Welcome Aboard' initial public/index.html page, the "About your application’s environment" link isn't showing inline environment information, rather it is attempting to go to the link and failing.

Reported by Dr Nic · January 30th, 2010 @ 10:52 AM

State: resolved
Milestone: 3.0.2
Assigned to: Mikel Lindsaar Mikel Lindsaar
Importance: Low

Activity

  1. Mikel Lindsaar
    Mikel Lindsaar
    • State changed from new to open
    • Assigned user set to Mikel Lindsaar
    • Milestone cleared.

    Hi, Just tried it here, seems to be working, is this still an issue?

    The about your application's environment has been an AJAX call for some time.

    Mikel

    February 8th, 2010 @ 10:38 AM

  2. Carlos Antonio da Silva
    Carlos Antonio da Silva

    Hello,
    the same here. What happens is that I've started an application using jquery instead of prototype, and the index.html is hardcoded for use with prototype lib. Maybe pure javascript should be used in index.html?

    February 9th, 2010 @ 02:44 AM

  3. siong1987
    siong1987

    Is there any update on this ticket?

    March 1st, 2010 @ 09:42 PM

  4. Łukasz Strzałkowski
    Łukasz Strzałkowski

    Instead of rewriting js to pure js we can you prototype provided by google apis. What do you think about the path?

    March 2nd, 2010 @ 10:45 AM

  5. Łukasz Strzałkowski
    Łukasz Strzałkowski
    • Tag changed from rails3 to patch, rails3

    March 2nd, 2010 @ 10:50 AM

  6. Mikel Lindsaar
    Mikel Lindsaar

    Thanks, I'll check it out

    March 2nd, 2010 @ 11:21 AM

  7. Mikel Lindsaar
    Mikel Lindsaar
    • Assigned user changed from Mikel Lindsaar to José Valim
    • State changed from open to verified

    OK, looks like a good idea to use the APIs if there is an internet connection, I also updated the InfoController to respond_to html if there is no net connection which then returns the full page all nicely presented.

    José, both of these patches are in my fork:

    http://github.com/mikel/rails/commit/863c16c97a18cf92a8f47d3aaaff74...
    http://github.com/mikel/rails/commit/8fd9e116d0d2a013f87b5b442ff53d...

    Should be able to just merge.

    Mikel

    March 2nd, 2010 @ 11:38 AM

  8. Mikel Lindsaar
    Mikel Lindsaar
    • Assigned user changed from José Valim to Mikel Lindsaar
    • State changed from verified to resolved

    So we ended up replacing the prototype with just vanilla javascript and lost the blind feature.

    http://github.com/rails/rails/commit/6193be26ce49bc24d67eb97f2f5f49...

    March 3rd, 2010 @ 02:49 AM

  9. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM