This are different examples of doing the same thing, "mark a notification as read", and the pros and cons that I see in each example
- The user clicks the notification link
- The system POSTs to the action "notifications/:id/mark_as_read"
- The controller calls the method Notification#mark_as_read
- The model updates the attribute "read" saves the Notification record