diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-14 11:38:23 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-14 11:38:23 -0500 |
commit | 00c94d7d94ba9c32a10fd52885c23d434aa99951 (patch) | |
tree | 249dafa261568dcb1b191be5756ce0708c7e0320 /activemodel/README.rdoc | |
parent | 05234b358f2d8fabb41b16a4a7a8d676bc31dcd3 (diff) | |
download | rails-00c94d7d94ba9c32a10fd52885c23d434aa99951.tar.gz rails-00c94d7d94ba9c32a10fd52885c23d434aa99951.tar.bz2 rails-00c94d7d94ba9c32a10fd52885c23d434aa99951.zip |
updating define_attribute_methods documentation
Diffstat (limited to 'activemodel/README.rdoc')
-rw-r--r-- | activemodel/README.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/README.rdoc b/activemodel/README.rdoc index 0c7089598c..b4565b5881 100644 --- a/activemodel/README.rdoc +++ b/activemodel/README.rdoc @@ -41,7 +41,7 @@ behavior out of the box: include ActiveModel::AttributeMethods attribute_method_prefix 'clear_' - define_attribute_methods [:name, :age] + define_attribute_methods :name, :age attr_accessor :name, :age |