Forum: Ruby on Rails rails/info/properties

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
453493fcee22adbf3c46ac793a346ef5?d=identicon&s=25 Nike Mike (nike)
on 2008-12-30 15:36
hi i had a doubt while creating a new rails project we are getting the
basic welcome message as


Welcome aboard
You’re riding Ruby on Rails!
About your application’s environment

on clicking the about ur applications we are getting the full
information about the gem version,rails path etc.I have checked the
index.html file.its calling prototype js with function

 function about() {
        if (Element.empty('about-content')) {
          new Ajax.Updater('about-content', 'rails/info/properties', {
            method:     'get',
            onFailure:  function()
{Element.classNames('about-content').add('failure')},
            onComplete: function() {new
Effect.BlindDown('about-content', {duration: 0.25})}
          });
        } else {
          new Effect[Element.visible('about-content') ?
            'BlindUp' : 'BlindDown']('about-content', {duration: 0.25});
        }
      }

how it is retrieving the information from  rails/info/properties


Thanks in advance
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2008-12-30 15:58
(Received via mailing list)
On 30 Dec 2008, at 14:36, Nike Mike wrote:
>
> how it is retrieving the information from  rails/info/properties
>
There is a magic controller inside rails itself which is only
available if the development environment.

Fred
This topic is locked and can not be replied to.