aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations_test.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-10-11 14:02:24 +0000
committerRick Olson <technoweenie@gmail.com>2006-10-11 14:02:24 +0000
commit787049467341a75de469b58bcfe84f0959a2c3af (patch)
tree01f177b9d0f9a2cb37cb07e008aa2a56861d6ee3 /activerecord/test/associations_test.rb
parent214d236e7d9967a887fecee6e24d4c96c4a344dc (diff)
downloadrails-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-xactiverecord/test/associations_test.rb2
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')