Module: ResidentOrUser
- Extended by:
- ActiveSupport::Concern
- Included in:
- SummerResidents::Resident, User
- Defined in:
- app/models/resident_or_user.rb
Instance Method Summary collapse
Instance Method Details
#family ⇒ Object
6 7 8 |
# File 'app/models/resident_or_user.rb', line 6 def family @family ||= self.wife_and_kids || self.husband_and_kids end |
#full_name ⇒ Object
9 10 11 |
# File 'app/models/resident_or_user.rb', line 9 def full_name "#{self.first_name} #{self.last_name}" end |