days
0
-10
-4
hours
-2
0
minutes
-4
-3
seconds
-2
-8
Rails Supermodel

New ActiveModel-Based Rails Library

Jessica Thornsby

Alex Maccaw has released a new Rails library, Supermodel.

Supermodel uses Rails 3.0’s ActiveModel defined interfaces for Rails to provide in-memory database storage in Ruby. It supports serialisation, validations, Redis, callbacks and observers. With Supermodel, developers can use a random ID as oppose to the object ID.

It can be downloaded from github.

Author