houdini/app/models/full_contact_info.rb
2019-08-02 19:07:24 +02:00

23 lines
496 B
Ruby

# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class FullContactInfo < ApplicationRecord
attr_accessible \
:email,
:full_name,
:gender,
:city,
:county,
:state_code,
:country,
:continent,
:age,
:age_range,
:location_general,
:supporter_id, :supporter,
:websites
has_many :full_contact_photos
has_many :full_contact_social_profiles
has_many :full_contact_orgs
has_many :full_contact_topics
belongs_to :supporter
end