# Serialization to yaml

**URL:** <https://www.ruby-forum.com/t/serialization-to-yaml/143924>\
**Category:** Rails\
**Created:** [July 23, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/serialization-to-yaml/143924 "2008-07-23T22:11:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b9bd4f/32.png) [@joel](https://www.ruby-forum.com/u/joel)\
**Post date:** [July 23, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/serialization-to-yaml/143924/1 "2008-07-23T22:11:29Z")

</div>

Hello,

I m serializing an object so that I can send it by email easily.  
However my serailized object sometimes have a lot of quotes in it  
like :

"  
&nbsp; commentable\_type: BlogPage  
&nbsp; updated\_at: 2008-07-14 19:55:03  
&nbsp; title: “”  
&nbsp; rating\_total: “-3”  
&nbsp; id: “2”  
&nbsp; commentable\_id: “24”  
&nbsp; rating\_avg: “-3.00”  
&nbsp; rating\_count: “-3”  
&nbsp; user\_id: “8”  
"

How can I possibly remove these quotes.

Thanks in advance,

Joel
