1
0
Fork 0
oldhaven/app/models/artist.rb

5 lines
174 B
Ruby

class Artist < ActiveRecord::Base
has_many :albums, :order => 'has_pic DESC, year ASC, id ASC', :dependent => :destroy
has_many :artist_links, :dependent => :destroy
end