OSDN Git Service

fix panel post functions
[pettanr/pettanr.git] / app / models / speech_balloon.rb
index 161f89e..ed857be 100644 (file)
@@ -7,7 +7,7 @@ class SpeechBalloon < ActiveRecord::Base
   accepts_nested_attributes_for :balloons
   accepts_nested_attributes_for :speeches
   
-  validates :panel_id, :presence => true, :numericality => true, :existence => true
+#  validates :panel_id, :presence => true, :numericality => true, :existence => true
   validates :speech_balloon_template_id, :presence => true, :numericality => true, :existence => true
   validates :classname, :presence => true, :length => {:maximum => 50}
   validates :z, :presence => true, :numericality => {:greater_than => 0}