houdini/app/models/full_contact_info.rb

22 lines
408 B
Ruby

class FullContactInfo < ActiveRecord::Base
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