attribute_before_type_cast with serialized attributes is broken #4837

Closed
jonleighton opened this Issue Feb 1, 2012 · 0 comments

Projects

None yet

1 participant

@jonleighton
Member

It returns the internal struct that 3.2 is now using, rather than the deserialized value.

This is a problem because form helpers use this method, see #4004 (comment).

This is a blocker for the next 3.2 release.

@jonleighton jonleighton was assigned Feb 1, 2012
@jonleighton jonleighton added a commit that closed this issue Feb 7, 2012
@jonleighton jonleighton Fix attribute_before_type_cast for serialized attributes. Fixes #4837.
Conflicts:

	activerecord/lib/active_record/core.rb
77b4edc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment