rails/activemodel/test
Steve Klabnik 9504b44cf6 Specify type of singular association during serialization
When serialising a class, specify the type of any singular associations, if
necessary. Rails already correctly specifies the :type of any enumerable
association (e.g. a has_many association), but made no attempt to do so for
non-enumerables (e.g. a has_one association).
We must specify the :type of any STI association. A has_one
association to a class which uses single-table inheritance is an example of
this type of association.

Fixes #7471
2012-11-28 11:48:32 -08:00
..
cases Specify type of singular association during serialization 2012-11-28 11:48:32 -08:00
models fix failing isolated tests 2012-10-26 23:03:36 -05:00
validators This is not an executable file 2010-12-16 01:49:28 +05:30
config.rb Make Active Model test suite similar to Active Record 2009-03-20 10:32:24 +00:00