oldhaven/app/models/album.rb

5 lines
114 B
Ruby
Raw Normal View History

2011-06-14 20:05:12 +04:00
class Album < ActiveRecord::Base
2011-06-15 00:01:42 +04:00
belongs_to :artist
has_many :tracks, :order => 'bonus ASC, position ASC'
2011-06-14 20:05:12 +04:00
end