Sha256: 12a513859b72924d3229ad5fc25c0809db58eb1eedd8148ba74c92fc9d363f22

Contents?: true

Size: 479 Bytes

Versions: 11

Compression:

Stored size: 479 Bytes

Contents

module SocialNetworking
  # A question that is posed to participants when a profile is being created or
  # updated.
  class ProfileQuestion < ActiveRecord::Base
    belongs_to :group,
               class_name: "ThinkFeelDoEngine::Group",
               foreign_key: :group_id

    has_many :profile_answers,
             class_name: "SocialNetworking::ProfileAnswer",
             foreign_key: :social_networking_profile_question_id,
             dependent: :destroy
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
social_networking-0.11.8 app/models/social_networking/profile_question.rb
social_networking-0.11.7 app/models/social_networking/profile_question.rb
social_networking-0.11.6 app/models/social_networking/profile_question.rb
social_networking-0.11.5 app/models/social_networking/profile_question.rb
social_networking-0.11.4 app/models/social_networking/profile_question.rb
social_networking-0.11.3 app/models/social_networking/profile_question.rb
social_networking-0.11.2 app/models/social_networking/profile_question.rb
social_networking-0.11.1 app/models/social_networking/profile_question.rb
social_networking-0.11.0 app/models/social_networking/profile_question.rb
social_networking-0.10.0 app/models/social_networking/profile_question.rb
social_networking-0.9.3 app/models/social_networking/profile_question.rb