# validates :caption, :presence => true
validates :speech_balloon_template_settings, :boost => {:boost_name => :speech_balloon_template}
- def _y
+ def y
self.attributes['y']
end
self.speech_balloon.speech_balloon_template.symbol_option
end
- def self.public_list_where
+ def self.public_list_where list
'panels.publish > 0'
end
def style
{
'width' => self.width.to_s + 'px','height' => self.height.to_s + 'px',
- 'top' => self._y.to_s + 'px','left' => self.x.to_s + 'px'
+ 'top' => self.y.to_s + 'px','left' => self.x.to_s + 'px'
}
end