Action Dispatch Routing UrlFor In config/routes.rb you define URL-to-controller mappings, but the reverse is also possible: a URL can be generated from one of your routing definitions.| api.rubyonrails.org
Railties – Gluing the Engine to the Rails Railties is responsible for gluing all frameworks together.| api.rubyonrails.org