aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-02-07 23:17:24 +0100
committerJosé Valim <jose.valim@gmail.com>2012-02-07 23:17:24 +0100
commit91bb008c0b464b2524dcf4bf308b40afeb46021d (patch)
tree719f7fdb8d48028bf1f7eb74a1e8ccd0a68e26c4 /activemodel
parenta17d047a735e7de973f4fc340d05123524ff6d70 (diff)
downloadrails-91bb008c0b464b2524dcf4bf308b40afeb46021d.tar.gz
rails-91bb008c0b464b2524dcf4bf308b40afeb46021d.tar.bz2
rails-91bb008c0b464b2524dcf4bf308b40afeb46021d.zip
Update README to mention lint.
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/README.rdoc10
1 files changed, 6 insertions, 4 deletions
diff --git a/activemodel/README.rdoc b/activemodel/README.rdoc
index 9208145507..6f737d0d8b 100644
--- a/activemodel/README.rdoc
+++ b/activemodel/README.rdoc
@@ -9,10 +9,12 @@ Prior to Rails 3.0, if a plugin or gem developer wanted to have an object
interact with Action Pack helpers, it was required to either copy chunks of
code from Rails, or monkey patch entire helpers to make them handle objects
that did not exactly conform to the Active Record interface. This would result
-in code duplication and fragile applications that broke on upgrades.
+in code duplication and fragile applications that broke on upgrades. Active
+Model solves this by defining an explicit API. You can read more about the
+API in ActiveModel::Lint::Tests.
-Active Model solves this. You can include functionality from the following
-modules:
+Active Model also provides the following functionality to have ORM-like
+behavior out of the box:
* Add attribute magic to objects
@@ -182,7 +184,7 @@ modules:
p.valid? # => true
{Learn more}[link:classes/ActiveModel/Validator.html]
-
+
== Download and installation