diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-03-16 04:18:12 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-03-16 04:18:12 +0000 |
commit | 02d34440cf0713479ec26332bcfc004f343685ab (patch) | |
tree | 157562a0c40407256a620609b69f19587507133f /activerecord/CHANGELOG | |
parent | 4e15bf787e80f3a7ad1d3fa31338eff2cfbdd920 (diff) | |
download | rails-02d34440cf0713479ec26332bcfc004f343685ab.tar.gz rails-02d34440cf0713479ec26332bcfc004f343685ab.tar.bz2 rails-02d34440cf0713479ec26332bcfc004f343685ab.zip |
Alias the has_and_belongs_to_many join table on eager includes. closes #4106 [jeremyevans0@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 8dd5a86360..e0803611cb 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,11 @@ *SVN* +* Alias the has_and_belongs_to_many join table on eager includes. #4106 [jeremyevans0@gmail.com] + + This statement would normally error because the projects_developers table is joined twice, and therefore joined_on would be ambiguous. + + Developer.find(:all, :include => {:projects => :developers}, :conditions => 'join_project_developers.joined_on IS NOT NULL') + * Oracle adapter gets some love #4230 [schoenm@earthlink.net] * Changes :text to CLOB rather than BLOB [Moses Hohman] |