mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
Louis | Abstracts freecyclery functionality and adds closed applications page
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user