public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
purcell (author)
Sun May 04 03:53:50 -0700 2008
jeremy (committer)
Wed May 07 13:52:00 -0700 2008
commit  4a07103687084496b773e18a03b1f2f5e686f7ad
tree    98b50b9347310a9fa9d9e561d0b2d5d245addc72
parent  0a21193dc660396fb993b06d1d3c168a9cd900a5
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.