@@ -45,6 +45,6 class IssueStatus < ActiveRecord::Base | |||||
45 |
|
45 | |||
46 | private |
|
46 | private | |
47 | def check_integrity |
|
47 | def check_integrity | |
48 |
raise "Can't delete status" if Issue.find(:first, :conditions => ["status_id=?", self.id]) |
|
48 | raise "Can't delete status" if Issue.find(:first, :conditions => ["status_id=?", self.id]) | |
49 | end |
|
49 | end | |
50 | end |
|
50 | end |
General Comments 0
You need to be logged in to leave comments.
Login now