Reputation: 5297
I am new to Rails and I am trying to understand it. One thing that mistifies me the urls that rails can generate. For example, if I have a user controller which is labelled as a :resource in my routes file. It generates all kinds of urls such as user_path or edit_user_path.
Where can I learn more about these urls that it is generating, how it is doing it and what all the urls, that is does generate, are available to me.
Upvotes: 0
Views: 207
Reputation: 12445
"Rails Routing from the Outside In" Guide is your friend ;)
Upvotes: 3
Reputation: 43113
See the Rails Guide: http://guides.rubyonrails.org/routing.html
That pretty much explains everything about this.
Upvotes: 3