Skip to Content
Learn Rails 5.2: Accelerated Web Development with Ruby on Rails
book

Learn Rails 5.2: Accelerated Web Development with Ruby on Rails

by Stefan Wintermeyer
April 2018
Beginner to intermediate
444 pages
7h 35m
English
Apress
Content preview from Learn Rails 5.2: Accelerated Web Development with Ruby on Rails
© Stefan Wintermeyer 2018
Stefan WintermeyerLearn Rails 5.2https://doi.org/10.1007/978-1-4842-3489-1_5

5. Routes

Stefan Wintermeyer1 
(1)
Bochum, Germany
 

In Chapters 2 and 4, you learned about routes. The configuration in config/routes.rb defines what happens in the Rails application when a user of a Rails application fetches a URL. A route can be static or dynamic and pass any dynamic values with variables to the controller. If several routes apply to the same URL, the one that is listed at the top of config/routes.rb wins.

../images/460214_1_En_5_Chapter/460214_1_En_5_Figa_HTML.gif If you do not have much time, you can skip this chapter for now and come back to it later if you have any specific questions. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Rails 6: Accelerated Web Development with Ruby on Rails

Learn Rails 6: Accelerated Web Development with Ruby on Rails

Adam Notodikromo
Agile Web Development with Rails 5.1

Agile Web Development with Rails 5.1

Sam Ruby, David B. Copeland, Dave Thomas
Rails 4 in Action

Rails 4 in Action

Yehuda Katz, Rebecca Skinner, Stephen Klabnik, Ryan Bigg

Publisher Resources

ISBN: 9781484234891Purchase LinkPublisher Website