Topic: reading a serialised object from the database

Hi ,

I have saved the incoming messages in to my application and saved the attachments as a serialzed object by following the URL

http://stackoverflow.com/questions/4869 … -n-records

However I am successful in storing them but I can view it as a serialized file object as shown below

---
- !ruby/object:File {}

This file object contains the name, content-type,content-size of the file attached . So, how can I deserialize it and store the attachments in another table that has 1-M associations.My application uses rails 2.3.11

Any help appreciated