[Ruby] List of actions defined in [rails]Controller

less than 1 minute read

List of actions defined in #Controller Rails uses actions that have the following seven roles that are the basis of web applications.

Action name Role
new Create new data
create Add (save) data
index Display a list of data
show Display data contents (details)
edit Create a form to update the data
update Update data
destroy Delete data