oldhaven/app/models/artist.rb
2011-06-20 18:32:08 +04:00

4 lines
111 B
Ruby

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