OSDN Git Service

Item Dynamic ClassMethods
[pettanr/pettanr.git] / app / models / artist.rb
index 04a6edf..fa455cd 100644 (file)
@@ -1,4 +1,5 @@
 class Artist < Peta::Owner
+  load_manifest
   belongs_to :user
   has_many :original_pictures
   has_many :pictures
@@ -8,10 +9,6 @@ class Artist < Peta::Owner
   validates :user_id, :numericality => true, :existence => {:both => false}
   validates :provider_id, :numericality => {:allow_nil => true}
   
-  def self.valid_encode_columns
-    super + ['name']
-  end
-  
   def self.visible_count_options
     {:conditions => ['artists.author_id is not null']}
   end