OSDN Git Service

fix leaf view
[pettanr/pettanr.git] / app / models / artist.rb
index fa455cd..3f39903 100644 (file)
@@ -9,10 +9,6 @@ class Artist < Peta::Owner
   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