-class Author < Pettanr::Owner
+class Author < Peta::Owner
+ load_manifest
belongs_to :user
has_many :scrolls
has_many :comics
validates :working_panel_id, :numericality => {:allow_nil => true}
validates :user_id, :numericality => true, :existence => {:both => false}
- @@singular = 'Author'
- @@plural = 'Authors'
- @@valid_encode_columns += ['name']
- # @@visible_count_options = {}
-
def supply_default
self.name = 'no name' if self.name.blank?
end