# Trying to understand Ruby links

**URL:** <https://www.ruby-forum.com/t/trying-to-understand-ruby-links/179710>\
**Category:** Rails\
**Created:** [December 2, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/trying-to-understand-ruby-links/179710 "2009-12-02T12:53:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@coma](https://www.ruby-forum.com/u/coma)\
**Post date:** [December 2, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/trying-to-understand-ruby-links/179710/1 "2009-12-02T12:53:32Z")

</div>

I’ve got Ruby on Rails and Apache. I’m trying to understand someone  
else’s Ruby code which is below. I don’t know how the “info\_path” -link  
works on the net. The link does go to some other site, but I don’t know  
how it works. Any suggestions?

\<%=link\_to " #{I18n.t ‘take\_part\_link2’}", info\_path %\>

Thanks to all answers!

- Coma

---

<div class="post-metadata">

**Author:** ![coma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@coma](https://www.ruby-forum.com/u/coma)\
**Post date:** [December 2, 2009, 1:22pm UTC](https://www.ruby-forum.com/t/trying-to-understand-ruby-links/179710/2 "2009-12-02T13:22:24Z")

</div>

Vp Vp wrote:

> I’ve got Ruby on Rails and Apache. I’m trying to understand someone  
> else’s Ruby code which is below. I don’t know how the “info\_path” -link  
> works on the net. The link does go to some other site, but I don’t know  
> how it works. Any suggestions?

Find the app/config/routes.rb file and read through that for where the  
info path is setup…

For a global roadmap of the app, from the app root, run  
rake routes \>routes.lst

Then look at that file for a clear delineation of all the routing that  
is built into the application

---

<div class="post-metadata">

**Author:** ![coma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/ad7895/32.png) [@coma](https://www.ruby-forum.com/u/coma)\
**Post date:** [December 3, 2009, 10:04am UTC](https://www.ruby-forum.com/t/trying-to-understand-ruby-links/179710/3 "2009-12-03T10:04:49Z")

</div>

Hi

Do like Ar Chron says. Also you can try like  
./script/console  
app.info\_path

Sijo
