Barebone models to use with ActionPack in Rails 4.0 | Plataformatec Blog:
Rails 4.0 – current master branch at the time of this writing – has recently got a small – yet very useful – addition: ActiveModel::Model. The implementation is really simple, as you can see
[Nice.]