Commit a1fa6c617f950761662a21084b9c224324966e27

Authored by Dhruv Kapadia
1 parent 986b4233

Adding associations to skip model

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
app/models/skip.rb
1 1 class Skip < ActiveRecord::Base
2 2 belongs_to :skipper, :class_name => "Visitor", :foreign_key => "skipper_id"
3   - belongs_to :prompt, :class_name => "Prompt", :foreign_key => "prompt_id"
  3 + belongs_to :question
  4 + belongs_to :prompt
  5 + belongs_to :appearance
4 6 end
... ...