• Paco Guzman's avatar
    Cache todo counters (pending/done) · f6bfa46d
    Paco Guzman authored
    - As todos are created/updated inside the TodoService
    we repopulate the cache just there for both pending/done todos
    - Todos as mark as done from the TodosController we update cache
    there too
    - All the added methods are kept in the User class for cohesion
    f6bfa46d
todos_helper.rb 3.12 KB