diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-10-11 14:02:24 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-10-11 14:02:24 +0000 |
commit | 787049467341a75de469b58bcfe84f0959a2c3af (patch) | |
tree | 01f177b9d0f9a2cb37cb07e008aa2a56861d6ee3 /activerecord/test/associations_test.rb | |
parent | 214d236e7d9967a887fecee6e24d4c96c4a344dc (diff) | |
download | rails-787049467341a75de469b58bcfe84f0959a2c3af.tar.gz rails-787049467341a75de469b58bcfe84f0959a2c3af.tar.bz2 rails-787049467341a75de469b58bcfe84f0959a2c3af.zip |
Restore eager condition interpolation, document it's differences [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/associations_test.rb')
-rwxr-xr-x | activerecord/test/associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/associations_test.rb b/activerecord/test/associations_test.rb index 350799e306..e67880681c 100755 --- a/activerecord/test/associations_test.rb +++ b/activerecord/test/associations_test.rb @@ -315,7 +315,7 @@ class HasOneAssociationsTest < Test::Unit::TestCase assert_equal a, firm.account assert_equal a, firm.account(true) end - + def test_finding_with_interpolated_condition firm = Firm.find(:first) superior = firm.clients.create(:name => 'SuperiorCo') |