The Model Controller Class methods are generated by the Rhodes Application Generator. These actions, coded in the model-name_controller.rb file for the generated model, perform basic CRUD (create, read, update and delete) on the Rhodes model object. For more information, refer to Model/View/Controller.
:create |
Creates a Rhodes model object. |
:delete |
Deletes a Rhodes model object. |
:edit |
Edits a Rhodes model object using the edit.erb View file. |
:index |
Lists all Rhodes model objects using the index.erb View file. |
:new |
Creates a new Rhodes model object using the new.erb View file. |
:show |
Views a Rhodes model object using the show.erb View file. |
:update |
Updates the attributes of a Rhodes model object. |