VRFS-1184 fix join
This commit is contained in:
parent
6614974a07
commit
fb1adc488f
|
|
@ -59,7 +59,7 @@ module JamRuby
|
|||
end
|
||||
|
||||
def recent_history
|
||||
recordings = ClaimedRecording.joins(:recordings)
|
||||
recordings = ClaimedRecording.joins(:recording)
|
||||
.where(:recordings => {:band_id => "#{self.id}"})
|
||||
.order('created_at DESC')
|
||||
.limit(10)
|
||||
|
|
|
|||
Loading…
Reference in New Issue