diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-04 23:33:10 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-04 23:33:10 +0000 |
commit | 55854c4195177d2d5cbf0497c77e63b24cb76074 (patch) | |
tree | 7fc8154d16a0fef79b20fab53d3c2070307b23ee /railties/lib/rails_generator/generators/components/controller | |
parent | 30caefdfc794b8b828a50663dc0b933431273092 (diff) | |
download | rails-55854c4195177d2d5cbf0497c77e63b24cb76074.tar.gz rails-55854c4195177d2d5cbf0497c77e63b24cb76074.tar.bz2 rails-55854c4195177d2d5cbf0497c77e63b24cb76074.zip |
Added cascading eager loading that allows for queries like Author.find(:all, :include=> { :posts=> :comments }), which will fetch all authors, their posts, and the comments belonging to those posts in a single query (using LEFT OUTER JOIN) #3913 [anna@wota.jp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/controller')
0 files changed, 0 insertions, 0 deletions