VRFS-3247 : Band's online presence and performance samples specify foreign key so it won’t default to a nonexistent field name.

This commit is contained in:
Steven Miers 2015-06-10 15:31:36 -05:00
parent 141ee5f2e7
commit 8cd3b836ea
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ module JamRuby
has_many :musician_instruments, :class_name => "JamRuby::MusicianInstrument", :foreign_key=> 'player_id'
has_many :instruments, :through => :musician_instruments, :class_name => "JamRuby::Instrument", :foreign_key=> 'player_id'
has_many :online_presences, :class_name => "JamRuby::OnlinePresence"
has_many :performance_samples, :class_name => "JamRuby::PerformanceSample"
has_many :online_presences, :class_name => "JamRuby::OnlinePresence", :foreign_key=> 'player_id'
has_many :performance_samples, :class_name => "JamRuby::PerformanceSample", :foreign_key=> 'player_id'
# musicians