Answers for "how to get current directory in rails"

2

rails get current path

request.url
# => "http://localhost:3000/lists/7/items"
request.path
# => "/lists/7/items"
Posted by: Guest on April-14-2020

Code answers related to "how to get current directory in rails"

Browse Popular Code Answers by Language