X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=app%2Fmodels%2Fballoon_template.rb;fp=app%2Fmodels%2Fballoon_template.rb;h=c050ed9d36862031a82c0799363f31c8e066305a;hp=7f32278f785b75df22e57ff3dc1459d4a6c2f4d2;hb=278f86183f2474b2c4d219b724e76cbe07ed63dc;hpb=cd9653c66c4883c5e9a483fc47f0ddf77ed837be diff --git a/app/models/balloon_template.rb b/app/models/balloon_template.rb index 7f32278f..c050ed9d 100644 --- a/app/models/balloon_template.rb +++ b/app/models/balloon_template.rb @@ -1,6 +1,6 @@ class BalloonTemplate < ActiveRecord::Base - belongs_to :speach_balloon - has_many :speach_templates, :dependent => :destroy + belongs_to :speech_balloon + has_many :speech_templates, :dependent => :destroy belongs_to :system_picture - accepts_nested_attributes_for :speach_templates + accepts_nested_attributes_for :speech_templates end