validates :comic_id, :presence => true, :numericality => true, :existence => {:both => false}
validates :story_id, :presence => true, :numericality => true, :existence => {:both => false}
- validates :author_id, :presence => true, :numericality => true, :existence => {:both => false}
validates :t, :presence => true, :numericality => {:greater_than_or_equal_to => 0}
def supply_default
def overwrite operators
return false unless operators.author
- self.author_id = operators.author.id
end
def disp_t