added a new vulnerability plus completed the work info page

This commit is contained in:
Ken Johnson
2013-05-31 11:41:54 -04:00
parent 97ca13632d
commit f8e21af3e0
4 changed files with 91 additions and 1 deletions
+7 -1
View File
@@ -1,4 +1,10 @@
class WorkInfo < ActiveRecord::Base
attr_accessible :DoB, :SSN, :bonuses, :income, :user_id, :years_worked
attr_accessible :DoB, :SSN, :bonuses, :income, :years_worked
belongs_to :user
# We should probably use this
def last_four
"***-**-" << self.SSN[-4,4]
end
end