Class: ProfileFieldTypes::Organization

Inherits:
ProfileField show all
Defined in:
app/models/profile_field_types/organization.rb

Overview

Organisation Membership Information

An organization entry represents the activity of a user in an organization. Such an entry could be:

the user is "Lead Singer" of "the Band XYZ" since "May 2007"

Therefore, this profile_field has got a sub-structure.

Organization  <-- label of the parent profile field
     |--------- ProfileField:  :label => :from
     |--------- ProfileField:  :label => :to
     |--------- ProfileField:  :label => :role

Class Method Summary collapse

Methods inherited from ProfileField

#children_count, #delete_cache, #display_html, #key, #label, #orig_profileable, possible_types, #profileable, #save, #underscored_type, #value

Methods inherited from ActiveRecord::Base

#readonly?

Class Method Details

.model_nameObject



18
# File 'app/models/profile_field_types/organization.rb', line 18

def self.model_name; ProfileField.model_name; end