X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fmodels%2Fstory.rb;h=d24edb21d4cfba25fdc33196d5a41a7c27828e5b;hb=c75552d8db3397821ffc4913bc9e465f6141b5c5;hp=a3894f290c845ebe926af89a94554786aa3d9103;hpb=63cdcd7a3c4382b00531e0b5772ae966859d8ee9;p=pettanr%2Fpettanr.git diff --git a/app/models/story.rb b/app/models/story.rb index a3894f29..d24edb21 100644 --- a/app/models/story.rb +++ b/app/models/story.rb @@ -8,6 +8,11 @@ class Story < Peta::Content validates :visible, :presence => true, :numericality => true, :inclusion => {:in => 0..1} validates :t, :presence => true, :numericality => {:greater_than_or_equal_to => 0} + def tag_attributes column = nil, opt = {} + { + } + end + def self.owner_model Comic end