OSDN Git Service

Item Dynamic ClassMethods
[pettanr/pettanr.git] / app / models / author.rb
index e571bc3..8560076 100644 (file)
@@ -1,4 +1,5 @@
 class Author < Peta::Owner
+  load_manifest
   belongs_to :user
   has_many :scrolls
   has_many :comics
@@ -10,10 +11,6 @@ class Author < Peta::Owner
   validates :working_panel_id, :numericality => {:allow_nil => true}
   validates :user_id, :numericality => true, :existence => {:both => false}
   
-  def self.valid_encode_columns
-    super + ['name']
-  end
-  
   def supply_default
     self.name = 'no name' if self.name.blank?
   end