A toolkit for building modeling frameworks like Active Record. Rich support for attributes, callbacks, validations, serialization, internationalization, and testing.
ActiveModel brings many of ActiveRecord's features (such as validations and callbacks) to non-ActiveRecord classes.