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:
parent
141ee5f2e7
commit
8cd3b836ea
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue