aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added defaults to respond_to [DHH]David Heinemeier Hansson2006-03-121-16/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to render action/template/file of a specific extension (and ↵David Heinemeier Hansson2006-03-121-56/+61
| | | | | | here by template type). This means you can have multiple templates with the same name but a different extension [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure backwards compatibility with symbolized action names for ↵David Heinemeier Hansson2006-02-191-1/+10
| | | | | | render_action (closes #3869) [anna@wota.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reset template variables after using render_to_string. Closes #2559Nicholas Seckar2005-10-251-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make string-keys locals assigns optionalNicholas Seckar2005-10-171-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add temporary support for passing locals to render using string keysNicholas Seckar2005-10-161-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :locals support for render :inline #2463 [mdabney@cavoksolutions.com]David Heinemeier Hansson2005-10-131-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance with 5-30% through a series of Action Pack ↵David Heinemeier Hansson2005-07-231-1/+8
| | | | | | optimizations #1811 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Partly tuned docs for release (AP)David Heinemeier Hansson2005-07-061-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2879@asus: jeremy | 2005-07-05 16:15:16 -0700Jeremy Kemper2005-07-051-0/+1
| | | | | | | | | | | Rollback changesets for Ticket #1229. r2880@asus: jeremy | 2005-07-05 16:17:08 -0700 Ticket #1229 does not affect Ticket #1614. Reinstating the changesets. r2881@asus: jeremy | 2005-07-05 16:24:04 -0700 @test_unchanged in deprecated render test :partials_list action git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2874@asus: jeremy | 2005-07-05 16:13:39 -0700Jeremy Kemper2005-07-051-2/+2
| | | | | | | Unit test for Ticket #1614. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* render(:template) applies a layout by default. render("foo/bar") works with ↵Jamis Buck2005-06-151-14/+0
| | | | | | a layout again. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure the benchmarking render method always returns the result of the ↵Jamis Buck2005-05-301-2/+4
| | | | | | render, regardless of whether logging is enabled or not. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added accessors to logger, params, response, session, and headers from the ↵David Heinemeier Hansson2005-05-191-0/+10
| | | | | | view, so you can write <% logger.info "stuff" %> instead of <% @logger.info "others" %> -- more consistent with the preferred way of accessing these attributes and collections from the controller git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that render_partial called from a controller will use the action name ↵David Heinemeier Hansson2005-04-171-0/+9
| | | | | | as default #828 [Dan Peterson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base#render_to_string to parse a template and get the result back as a ↵David Heinemeier Hansson2005-02-231-0/+11
| | | | | | string #479 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-151-66/+70
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-151-70/+66
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-151-66/+70
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added authentication framework to protect actions behind a condition and ↵David Heinemeier Hansson2005-01-091-0/+5
| | | | | | redirect on failure. See ActionController::Authentication for more. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-241-0/+178
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de