Your are here: Home // Posts Tagged With serialization
ActiveModel – Making Ruby Classes Behave Like Models
Podcast: Play in new window
| Download
I’ve been working on an ORM for Cassandra. One of the things I’ve been using to build the ORM is ActiveModel. ActiveModel gives you modules you can add to your class that makes it behave like an ActiveRecord Model.
Here are some of the features you can add to your classes with ActiveModel.
Attribute Methods
Callbacks
Dirty Attributes (knowing which attributes...
Tags: ActiveModel, activerecord, attributes, callbacks, dirty, json, naming, observers, rails, ruby on rails, serialization, state machine, translation, validation, xml

