how do you serialize?
via serialize :params ?
don't you have somewhere in the code this?
class HashWithIndifferentAccess < Hash
def to_yaml(opts = {})
self.to_hash.to_yaml(opts)
end
end
there could be difference between env - production/devel, try to load your app
as production on your localhost
On Jul 21, 2011, at 13:04 , cipher_neo wrote:
> Hi tom,
>
> yes the versions of ruby are also identical.
>
> I have no clue what was happening, but I am going to get around it by
> converting the hash to json format first then allowing it to be serialized
> and then retrieving it and doing a JSON.parse on it. After which I will use
> symbolize_keys!
>
> I can be 100% certain then of the format of the data and should not have any
> problems.
>
> thank you both for your help
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/x8hki5-pwqEJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
--
===============================================================================
Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache
www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz
===============================================================================
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.