Created
March 19, 2010 20:02
-
-
Save retorquere/338110 to your computer and use it in GitHub Desktop.
This file contains 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 characters
class Sprint < Version | |
named_scope :open_sprints, lambda { |project| | |
{ | |
:order => 'start_date ASC, effective_date ASC', | |
:conditions => [ "status = 'open' and project_id = ?", project.id ] | |
} | |
} | |
def stories | |
return Story.sprint_backlog(self) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment