tracks/app/models
Katrina Owen d5a555fbac Encapsulate dependencies of stats index page
This may be a bit extreme.

It's modeled after the ideal "rails way".

In the controller, we now know the name of a single resource. It
doesn't happen to be backed by a database table, but it does know all
about the task of collecting stats, leaving the controller concerned
with just munging params and rendering stuff.

I called the resource `IndexPage`, to avoid the temptation of trying to
reuse it, which can get pretty messy.

Later, if a better abstraction appears, it should be fairly painless to
alter.
2013-03-02 17:35:19 -07:00
..
stats Encapsulate dependencies of stats index page 2013-03-02 17:35:19 -07:00
.gitkeep initial upgrade to rails 3.2.3 2012-04-30 13:56:33 +02:00
context.rb add ui for changing state of context to closed. This fixes #645 2013-03-01 16:22:30 +01:00
dependency.rb fix caching for #1328 and #1329 2012-09-19 17:13:29 +02:00
message_gateway.rb another set of dynamic finder migrations. All non-cucumber tests pass 2013-02-27 11:50:49 +01:00
note.rb Removed outer tracks directory. 2008-05-24 15:57:18 +01:00
preference.rb fix #1350 by removing admin_email from preferences model and add it as a site option in 2012-12-23 21:03:37 +01:00
project.rb Don't link to null projects 2013-03-02 00:19:47 -05:00
recurring_todo.rb refactorings for recurring todo model 2012-07-13 00:31:11 +02:00
tag.rb remove unused method from tag model 2013-03-01 16:22:29 +01:00
tagging.rb Rename callback for clarity 2013-02-19 07:54:09 -07:00
todo.rb get tests running and fix editing context state 2013-03-01 16:22:29 +01:00
user.rb increate test coverage for user and project model 2013-03-01 16:22:29 +01:00