add comment explaining sort

This commit is contained in:
Brian Smith 2014-03-01 21:35:11 -05:00
parent 8ca840548d
commit 37745101e2
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ module JamRuby
self.table_name = "recorded_tracks"
self.primary_key = 'id'
# this is so I can easily determine when to render a new user cell in the UI when
# rendering tracks (namely on recording/session hover bubbles and landing pages)
default_scope order('user_id ASC')
attr_accessor :marking_complete