Medium
In my routes, I want to add the following routes in a single method call:
GET /users
GET /users/:id
POST /users
PUT /users/:id
DELETE /users/:id
What should I put?
Author: InconnuStatus: PublishedQuestion passed 112 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Create a Rails controller with a bar action and a value parameter.2
Create a user in Rails with a validation error1
Translate the string 'hello_world' to French in Rails1
What are the columns of the users table in Rails?1
This query is already protected against SQL injection.1
How to execute Ruby code without displaying it.1
Use the I18n gem to translate a string, a date and a pluralized string in Rails