Louis | Abstracts freecyclery functionality and adds closed applications page

This commit is contained in:
Loos
2014-10-07 21:17:44 -04:00
parent 77e7109b9e
commit b717cba355
7 changed files with 43 additions and 5 deletions
+4
View File
@@ -13,4 +13,8 @@ class Client < ActiveRecord::Base
self.first_name + ' ' + self.last_name
end
def self.closed_applications
Client.all.select{|client| client.application_voided || client.completion_date}
end
end