public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
jeremy (author)
Fri Dec 14 18:30:25 -0800 2007
commit  7af985f74fdaead950986038570f4d00befe7fc0
tree    1eb6a4b10366f15f70ac853ae31ad77f9c6df9f5
parent  6743504ba2091d180f8f9318bec4d97d6ab347c3
rails / activemodel
README
Active Model
==============

Totally experimental library that aims to extract common model mixins from
ActiveRecord for use in ActiveResource (and other similar libraries).  
This is in a very rough state (no autotest or spec rake tasks set up yet),
so please excuse the mess.  

Here's what I plan to extract:
  * ActiveModel::Observing 
  * ActiveModel::Callbacks
  * ActiveModel::Validations

  # for ActiveResource params and ActiveRecord options
  * ActiveModel::Scoping

  # to_json, to_xml, etc
  * ActiveModel::Serialization

I'm trying to keep ActiveRecord compatibility where possible, but I'm
annotating the spots where I'm diverging a bit.