diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-08-11 15:02:05 -0700 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-08-15 12:32:01 -0700 |
commit | 27adcd1c1a5cc566cfa8c5f8268b65ef01a7e865 (patch) | |
tree | 2e732c3909ec5a6a72e3dbcace8d0fdd2d57cc3d /actionpack/test/controller/base_test.rb | |
parent | a363dba790d9d9f6284f7f857d872eca124805ee (diff) | |
download | rails-27adcd1c1a5cc566cfa8c5f8268b65ef01a7e865.tar.gz rails-27adcd1c1a5cc566cfa8c5f8268b65ef01a7e865.tar.bz2 rails-27adcd1c1a5cc566cfa8c5f8268b65ef01a7e865.zip |
Clean up ActionView some:
* Call _evaluate_assigns_and_ivars at the two entry points so we don't have to
do a check at every render.
* Make template.render viable without having to go through a wrapper method
* Remove old TemplateHandler#render(template, local_assigns) path so we don't have
to set self.template every time we render a template.
* Move Template rescuing code to Template#render so it gets caught every time.
* Pull in some tests from Pratik that test render @object in ActionView
Diffstat (limited to 'actionpack/test/controller/base_test.rb')
0 files changed, 0 insertions, 0 deletions