Rails uses actions that have the following seven roles that are the basis of a web application.
Action name | role |
---|---|
new | Create new data |
create | Add (save) data |
index | Display a list of data |
show | Display the contents (details) of the data |
edit | Create a form to update the data |
update | Update data |
destroy | Delete data |
Recommended Posts