rails/activemodel/lib
Sean Griffin 4590d7729e Simplify the implementation of Active Model's type registry
Things like decorations, overrides, and priorities only matter for
Active Record, so the Active Model registry can be implemented much more
simply. At this point, I wonder if having Active Record's registry
inherit from Active Model's is even worth the trouble?

The Active Model class was also missing test cases, which have been
backfilled.

This removes the error when two types are registered with the same name,
but given that Active Model is meant to be significantly more generic, I
do not think this is an issue for now. If we want, we can raise an error
at the point that someone tries to register it.
2015-09-21 10:12:31 -06:00
..
active_model Simplify the implementation of Active Model's type registry 2015-09-21 10:12:31 -06:00
active_model.rb Remove XML Serialization from core. 2015-08-07 11:01:48 -04:00