canvas-lms/app
Brian Palmer ba20f27352 optimize get_all_pertinent_contexts, especially for /calendar
By scoping the finds to the user, we can avoid a lot of grants_right
lookups and the associated db queries. This is especially helpful for
users who belong to a lot of groups or courses.

Change-Id: I31e22ecddf9456734d6c1297d776a8353e43a526
Reviewed-on: https://gerrit.instructure.com/2486
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-03-01 14:45:04 -07:00
..
controllers optimize get_all_pertinent_contexts, especially for /calendar 2011-03-01 14:45:04 -07:00
helpers break SIS error/count reports into partials, fixes #3889 2011-02-23 14:54:27 -07:00
messages this is going into the database, and it probably shouldn't 2011-02-10 12:26:31 -07:00
middleware Initial commit. 2011-01-31 18:57:29 -07:00
models enforce term/course/section start and end dates 2011-03-01 13:47:12 -07:00
stylesheets move no-js and ie6 warnings out of app.html.erb 2011-02-22 10:35:41 -07:00
views on quiz instructions page, "always available" isn't lined up 2011-03-01 13:58:08 -07:00