tracks/lib
Matt Rogers 4d2f25ab20 Refactor the fetching of done todos
Move the get_done_today, get_done_this_week, and get_done_this month
methods into their own class in lib/tracks and use the new class in the
context, project, and todo controllers.

This removes the complexity from the application controller, silos it
off, and slightly reduces the complexity of the other controllers so
that they don't have to duplicate as much code.

The tradeoff here is that the code that was moved out into its own class
was also duplicated in the todos controller due to a different use case
that I didn't see before. This is still an improvement however and so
I'm ok with going back and tackling the extra complexity added to
TodoController at a later date.
2012-11-27 23:07:46 -06:00
..
assets initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +02:00
tasks Don't run the cucumber features as part of the ci task. 2012-10-09 12:47:53 -05:00
tracks Refactor the fetching of done todos 2012-11-27 23:07:46 -06:00
is_taggable.rb Make sure that changing tags (i.e. toggle star) touches the taggable (todo) to invalidate cache. Make sure _context is cached different for _context of active todos and _context of tagged todos and _context in tickler 2012-09-02 15:13:29 +02:00
login_system.rb fix #1325 by applying the patch of Dan Rice. Thanks Dan! 2012-08-25 17:18:22 +02:00