Added a Rate#locked? check. #1919

This commit is contained in:
Eric Davis committed 2009-01-16 15:23:30 -08:00
1 parent 931ecae4d1
commit 9b0332bf78
2 files changed
+16

No files matched your search

+3
View File
@@ -13,4 +13,7 @@ class Rate < ActiveRecord::Base
}
}
def locked?
return self.time_entries.length > 0
end
end