Commit 69fd4763d2d239877c46b0fa6be894f1338fc4e3

Authored by James Newton
1 parent ac3c23f9

display milestones that are not marked with a due date as active

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/milestone.rb
... ... @@ -6,7 +6,7 @@ class Milestone < ActiveRecord::Base
6 6 validates_presence_of :title
7 7  
8 8 def self.active
9   - where("due_date > ? ", Date.today)
  9 + where("due_date > ? OR due_date IS NULL", Date.today)
10 10 end
11 11  
12 12 def percent_complete
... ...