class Track < ActiveRecord::Base set_table_name 'musicbrainz.bh_track' belongs_to :release def inDb ! TrackData.where(id: id.to_s).empty? end end