public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
dhh (author)
Fri Nov 09 12:02:29 -0800 2007
commit  5c8beba9dc47dad9a523b0f297d4038c4edae883
tree    c83c49290e3aa39149cba740a3177df1c416ba2d
parent  b318134c99dc3f0f639f6dd225bfc807b4e76460
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.