diff --git a/config/routes.rb b/config/routes.rb index 443fc97..0862784 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -35,7 +35,7 @@ Rails.application.routes.draw do puts "Calendar fix!" end if need_update2 - Event.where(:recurring=>true).each do |e| + Event.where(:all_day=>true).each do |e| if e.end == e.start + 1.day e.end = e.start e.save