Commit 69fd4763 authored by James Newton's avatar James Newton

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

parent ac3c23f9
......@@ -6,7 +6,7 @@ class Milestone < ActiveRecord::Base
validates_presence_of :title
def self.active
where("due_date > ? ", Date.today)
where("due_date > ? OR due_date IS NULL", Date.today)
end
def percent_complete
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment