Player functionality restored

This commit is contained in:
magnolia-fan
2011-09-26 09:22:18 +04:00
parent 7582bd18a5
commit c138c1a74b
4 changed files with 10 additions and 20 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
class Artist < ActiveRecord::Base
has_many :albums, :order => 'has_pic DESC, year ASC, id ASC', :dependent => :destroy
has_many :albums, :conditions => ['has_pic = 1'], :order => 'year ASC', :dependent => :destroy
has_many :artist_links, :dependent => :destroy
has_many :artist_aliases, :dependent => :destroy
has_many :tracks, :through => :track_artists