aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-10-30 15:07:47 -0500
committerJoshua Peek <josh@joshpeek.com>2008-10-30 15:07:47 -0500
commitec38c84ce1ff7f0888becc15e3f58337ca807e25 (patch)
tree2ef45c777eeef49d42f6fa4b1589f97ffad90435 /actionpack/test/fixtures
parentef53d915164da7f757d03c4a70fe38e374c08b14 (diff)
downloadrails-ec38c84ce1ff7f0888becc15e3f58337ca807e25.tar.gz
rails-ec38c84ce1ff7f0888becc15e3f58337ca807e25.tar.bz2
rails-ec38c84ce1ff7f0888becc15e3f58337ca807e25.zip
Dup local assigns for partial collections so nil values doesn't get overwritten [#1250 state:resolved]
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/test/_customer.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/fixtures/test/_customer.erb b/actionpack/test/fixtures/test/_customer.erb
index 872d8c44e6..d8220afeda 100644
--- a/actionpack/test/fixtures/test/_customer.erb
+++ b/actionpack/test/fixtures/test/_customer.erb
@@ -1 +1 @@
-Hello: <%= customer.name %> \ No newline at end of file
+Hello: <%= customer.name rescue "Anonymous" %> \ No newline at end of file