diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-03-06 04:47:58 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-03-06 04:47:58 +0000 |
commit | c58dff1c9cbdd45df8685e230d1dc91cf1deb6cf (patch) | |
tree | fc7b0c2a5139b9720ef5f46fe39785128c3a54e5 /activerecord/CHANGELOG | |
parent | 5a7722de98bcf4ad932cf2ec15faa47d1d431457 (diff) | |
download | rails-c58dff1c9cbdd45df8685e230d1dc91cf1deb6cf.tar.gz rails-c58dff1c9cbdd45df8685e230d1dc91cf1deb6cf.tar.bz2 rails-c58dff1c9cbdd45df8685e230d1dc91cf1deb6cf.zip |
slight change to eager associations table aliasing: use class_reflection, like 'post_comments' or 'tree_children'
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 9114f70ea1..ea920c7721 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -3,9 +3,9 @@ * Added smarter table aliasing for eager associations for multiple self joins #3580 [Rick Olson] * The first time a table is referenced in a join, no alias is used. - * After that, the parent table name and the reflection name are used. + * After that, the parent class name and the reflection name are used. - Tree.find(:all, :include => :children) # LEFT OUTER JOIN trees AS tress_children ... + Tree.find(:all, :include => :children) # LEFT OUTER JOIN trees AS tree_children ... * Any additional join references get a numerical suffix like '_2', '_3', etc. |