validates :user_id, :numericality => true, :existence => {:both => false}
validates :provider_id, :numericality => {:allow_nil => true}
- def self.visible_count_options
- {:conditions => ['artists.author_id is not null']}
- end
-
def supply_default
self.name = 'no name' if self.name.blank?
end