-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serialize problems #4
Comments
>> Mymodel.serialized_attributes => {"value"=>Object, "interpolations"=>Array} temporary solution Mymodel.serialized_attributes = {} |
any chance to get fix for it? thanks. |
I'm on
in my administrative translations management form, and that 'saved' me from persisting my translations with a message resembling this issue - and debugging on the create action further showed me that the error hinted at interpolations being serialized as string when expected to be an array. Once I lost the interpolations field in my form, everything was perfect :) |
Issue is quite old, so i am not sure if it is still relevant. So closing this for now. |
i'm using i18n-active_record backend with rails master. in i18n initializer i have following code:
And because of 'serialize :value' in lib/i18n/backend/active_record/translation.rb AR serializes every field named value in any model, but everything ok using rails 3.0.3.
Seems like they changed something in include proccess and it includes 'serialize :value' and 'serialize :interpolations' to every model.
Can you please check it?
The text was updated successfully, but these errors were encountered: