def outer_style
{
- 'top' => self.y, 'left' => self.x,
+ 'top' => self._y, 'left' => self.x,
'width' => self.width, 'height' => self.height
}
end
{:include => {:speech_balloon => {:panel => {:author => {}}, :balloon => {}, :speech_balloon_template => {} }}}
end
- def copy_attributes
- r = self.attributes
- r.delete 'id'
- r.delete 'speech_balloon_id'
- r.delete 'created_at'
- r.delete 'updated_at'
- r
- end
-
def self.panelize speech_attributes
{'speech_attributes' => speech_attributes}
end