Answers for "rails path"

0

rails all path

# in terminal:
rails routes # => List all your routes
# If you want to select
rails routes | grep yourModelName..
Posted by: Guest on January-19-2021
0

rails resources

get '/patients/:id', to: 'patients#show'
# url: your_site/patients/12
Posted by: Guest on January-19-2021

Browse Popular Code Answers by Language