oldhaven/app/models/album.rb
2011-06-15 00:01:42 +04:00

5 lines
114 B
Ruby

class Album < ActiveRecord::Base
belongs_to :artist
has_many :tracks, :order => 'bonus ASC, position ASC'
end