All path and url helpers in Rails Console
helpers = Rails.application.routes.named_routes.helpers
helpers.map(&:to_s)
Written by kyriacos
Related protips
1 Response
Thanks for posting this factoid. Now all I need is a converter from a path to a helper method name! :)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#N
Authors
Related Tags
#n
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#