Class: ProfileAffiliation
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ProfileAffiliation
- Defined in:
- app/models/profile_affiliation.rb
Instance Method Summary (collapse)
-
- (Object) to_s
accepts_nested_attributes_for :department, :organization, :title.
Instance Method Details
- (Object) to_s
accepts_nested_attributes_for :department, :organization, :title
validates_associated :department, :organization, :title
11 12 13 |
# File 'app/models/profile_affiliation.rb', line 11 def to_s affiliation = "#{self.title}, #{self.department}, #{self.organization}" end |