Hello,
It´s my first post here. :)
I´l following the guide of Ruby, but I need to know how the Ruby knows
my path to other pages if I did not define anything, like this:

app/views/posts/index.html.erb:
    <td><%= link_to 'Show', post %></td>
    <td><%= link_to 'Edit', edit_post_path(post) %></td>

Other path(home/index.html.erb):
<%= link_to "My first blog in Ruby on Rails", posts_path %>

I need help to know how Ruby knows the path of "post",
"edit_post_path(post)" and "posts_path"?

Thank you all!

ps:
The link that I´m following:
http://guides.rubyonrails.org/getting_started.html#creating-the-blog-application
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to