Ruby on Rails
Thursday, July 23, 2015
On Thursday, July 23, 2015 at 3:03:19 PM UTC+1, Carson Reinke wrote:
I read through the pull request (https://github.com/rails/rails/pull/15704) of the deprecation of `serialized_attributes`. I was wondering what I should do in the future. The PR mentions using polymorphism, however, what should I use when the serialization does not represent a database entity. I understand that this blob concept violates first normal form anyway, maybe part of the reason for the deprecation, not sure though.
Hi,
Do you realise that it's not `serialize` and the general concept of serialized_attributes that are deprecated, but only the method called serialized_attributes that returns the list of serialized attributes ?
Fred
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ae3f2650-4e4e-4638-819e-0c59402ea580%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment