diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-07-02 16:38:50 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-07-02 16:40:42 +0100 |
commit | 2b43620e3c1352028f19550fcde4632d65cbd191 (patch) | |
tree | b28ddcc92eae7fe9ceea11c2f55b1956f5d4efc7 /actionpack/test/fixtures | |
parent | 4f75840d72b96fff34d65b59480da7d6c7494120 (diff) | |
download | rails-2b43620e3c1352028f19550fcde4632d65cbd191.tar.gz rails-2b43620e3c1352028f19550fcde4632d65cbd191.tar.bz2 rails-2b43620e3c1352028f19550fcde4632d65cbd191.zip |
Add :as option to render a collection of partials with a custom local variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r-- | actionpack/test/fixtures/test/_customer_with_var.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/test/_customer_with_var.erb b/actionpack/test/fixtures/test/_customer_with_var.erb new file mode 100644 index 0000000000..3379246b7e --- /dev/null +++ b/actionpack/test/fixtures/test/_customer_with_var.erb @@ -0,0 +1 @@ +<%= customer.name %> <%= object.name %> <%= customer_with_var.name %>
\ No newline at end of file |