Created
September 14, 2015 23:37
-
-
Save tpope/15c9486b439238402bb3 to your computer and use it in GitHub Desktop.
Revisions
-
tpope created this gist
Sep 14, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ grading_period = @context.courses.map do |course| GradingPeriod.context_find(course, params[:grading_period_id]) end.compact.first