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
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---