Class: Profile
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Profile
- Defined in:
- app/models/profile.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) email
31 32 33 |
# File 'app/models/profile.rb', line 31 def email self.emails.first end |
- (Object) name
27 28 29 |
# File 'app/models/profile.rb', line 27 def name self.first_name + ' ' + self.last_name end |
- (Object) phone
35 36 37 |
# File 'app/models/profile.rb', line 35 def phone self.phones.first end |
- (Object) url
39 40 41 |
# File 'app/models/profile.rb', line 39 def url self.urls.first end |