Permalink
Browse files

Add some doc about composed_of in the CHANGELOG

  • Loading branch information...
1 parent 31c3e46 commit c1e8f3e6c0d65e9f605caef297038065b7734ba9 @franckverrot committed May 31, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 activerecord/CHANGELOG
@@ -1,5 +1,11 @@
*Rails 3.1.0 (unreleased)*
+* AR#composed_of can now access the associated record
+
+ class User < ActiveRecord::Base
+ composed_of :some_aggregation, ..., :converter => Proc.new { |record, values| ... }
+ end
+
* AR#pluralize_table_names can be used to singularize/pluralize table name of an individual model:
class User < ActiveRecord::Base

0 comments on commit c1e8f3e

Please sign in to comment.