debugging

This commit is contained in:
Oliver Kennedy 2018-04-27 20:28:08 -04:00
parent 7b3382fa9d
commit ab67020819

View file

@ -8,7 +8,7 @@ title: Funding Sources
<% $db["cv/okennedy/grants"].
where { |grant| ["accepted", "completed"].include? grant["status"] }.
map { |grant| [grant["start"].split(/\//)[-1].to_i, grant] }.
reduce.
my_reduce.
sort_by { |x| -x[0] }.
each do |year, grants| %>
<h2><%=year%></h2>