14 lines
No EOL
312 B
Ruby
14 lines
No EOL
312 B
Ruby
class FullContactSocialProfile < ActiveRecord::Base
|
|
attr_accessible \
|
|
:full_contact_info,
|
|
:full_contact_info_id,
|
|
:type_id, # i.e. twitter, linkedin, facebook
|
|
:username, #string
|
|
:uid, # string
|
|
:bio, #string
|
|
:url #string
|
|
|
|
belongs_to :full_contact_info
|
|
|
|
validates_presence_of :full_contact_info
|
|
end |