public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
NZKoz (author)
Fri May 16 17:35:55 -0700 2008
commit  72ed17df44e194674ec9a83a5504db53e3426a8e
tree    ecae2a2c34f73718cb41b6acfa1e7237ee502488
parent  46f30f902fb5e705683dea19ec22179c61e5f208
rails / activemodel
name age message
..
folder CHANGES Fri Nov 09 06:59:15 -0800 2007 initial experimental commit of active_model [technoweenie]
folder README Fri Nov 09 06:59:15 -0800 2007 initial experimental commit of active_model [technoweenie]
folder Rakefile Fri May 16 02:35:09 -0700 2008 Add rdoc task to activemodel. [#156 state:resol... [jakehow]
folder lib/ Fri May 09 02:40:50 -0700 2008 Merge docrails: [lifo]
folder spec/ Fri Nov 09 06:59:15 -0800 2007 initial experimental commit of active_model [technoweenie]
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.