April 2018
Beginner to intermediate
406 pages
9h 33m
English
The final piece of our puzzle is simple. We're going to do this purely as an exercise in understanding how the data is recorded in ETS. In reality, we'd want to lock this information down a little bit more to something like admins-only access. That's okay, though—the point of this is to learn and get a great handle on how to use this information. To make our lives easier, we'll implement a history action on our page controller and just build a simple list of all of the actions in the history logs:
get "/history", PageController, :history