diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-07-10 04:22:08 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-07-10 04:22:08 +0000 |
commit | 5495b14a096d7f2ac0466f1945a6727e1d3e50c0 (patch) | |
tree | 090f46e31350895a5e589e9794550a372121cf39 /railties/doc | |
parent | 2abe3d2cd92e5ee55c39f1b4062ccf60043105f7 (diff) | |
download | rails-5495b14a096d7f2ac0466f1945a6727e1d3e50c0.tar.gz rails-5495b14a096d7f2ac0466f1945a6727e1d3e50c0.tar.bz2 rails-5495b14a096d7f2ac0466f1945a6727e1d3e50c0.zip |
r2979@asus: jeremy | 2005-07-10 01:51:00 -0700
Split association reflection test into has_many and has_one tests. TODO: extend to belongs_to and habtm as well. Kill trailing whitespace.
r2980@asus: jeremy | 2005-07-10 01:53:41 -0700
Test that eager load of firm.account (a has_one) returns the correct account. This doesn't cover the regression in Ticket #1688, however. Need a case where class name is not provided and the singular name is over-singularized by active_record.class_name. Kill trailing whitespace.
r2981@asus: jeremy | 2005-07-10 01:56:44 -0700
Fix class name resolution in AssociationReflection#name_to_class_name. Use the equivalent of the idiomatic ||= (read or write if nil) for the class_inheritable_attribute reflection arrays. Kill trailing whitespace.
r2982@asus: jeremy | 2005-07-10 01:59:08 -0700
Remove superfluous assignment in compute_type. In an inject, the return value is used for the next injection, so assigning to the injected value is unnecessary.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/doc')
0 files changed, 0 insertions, 0 deletions