# Serialize not working as expected. Am I doing it wrong?

**URL:** <https://www.ruby-forum.com/t/serialize-not-working-as-expected-am-i-doing-it-wrong/143462>\
**Category:** Rails\
**Created:** [July 18, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/serialize-not-working-as-expected-am-i-doing-it-wrong/143462 "2008-07-18T21:44:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeremy\_SAuzigog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a183cd/32.png) [@Jeremy\_SAuzigog](https://www.ruby-forum.com/u/Jeremy_SAuzigog)\
**Post date:** [July 18, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/serialize-not-working-as-expected-am-i-doing-it-wrong/143462/1 "2008-07-18T21:44:22Z")

</div>

I reported the bug here:  
[http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/647-serialize-d-array-not-unserializing-properly](http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/647-serialize-d-array-not-unserializing-properly)

But the replies are to the tone of “it’s not a bug”. Serialize isn’t  
working how I expect it to, but I was wondering if I’m just looking at  
it all wrong.

The code I’m using is essentially what you see in the bug report.

Thanks.
