MB + Last.fm + Discogs = Import!

This commit is contained in:
magnolia-fan
2011-09-26 09:10:23 +04:00
parent 0e04dba130
commit 7582bd18a5
8 changed files with 246 additions and 154 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
class Album < ActiveRecord::Base
belongs_to :artist
has_many :tracks, :order => 'bonus ASC, position ASC', :dependent => :destroy
has_many :tracks, :conditions => ['length > 0'], :order => 'bonus ASC, position ASC', :dependent => :destroy
has_many :album_formats
has_many :release_formats, :through => :album_formats