Class: GibsNotFoundUser
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- GibsNotFoundUser
- Defined in:
- app/models/gibs_not_found_user.rb
Class Method Summary collapse
Methods inherited from ApplicationRecord
descendants_using_encryption, lockbox_options, #timestamp_attributes_for_update_in_model, #valid?
Class Method Details
.log(user) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'app/models/gibs_not_found_user.rb', line 11 def self.log(user) create_with( first_name: user.first_name, last_name: user.last_name, ssn: user.ssn, dob: user.birth_date ).find_or_create_by(edipi: user.edipi) end |