Reputation: 2459
Rails URL helper methods like user_path are defined dynamically, but where exactly?
To which module/class/classpath do they belong?
Upvotes: 0
Views: 37
Reputation: 36860
They're defined here... https://github.com/rails/rails/blob/0814bb62e5128aff7bfa55211efbd10ad3e37c07/actionpack/lib/action_dispatch/routing/route_set.rb
As near as I can see it's...
ActionDispatch::Routing::NamedRouteCollection
Upvotes: 1