David Heinemeier Hansson
|
82f1e19e4c
|
Fixed docs (closes #2468)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-26 13:20:46 +00:00 |
|
Jamis Buck
|
a3469cadad
|
Make sure :layout => false is always used when rendering inside a layout
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-05 20:51:03 +00:00 |
|
David Heinemeier Hansson
|
4f40b2d8fb
|
Improved performance of test app req/sec with ~10% refactoring the render method #1823 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-24 16:45:39 +00:00 |
|
David Heinemeier Hansson
|
b366dbd952
|
Improved performance with 5-30% through a series of Action Pack optimizations #1811 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-23 09:00:05 +00:00 |
|
David Heinemeier Hansson
|
853ea55674
|
Made documentation ready for release (AP)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-06 09:32:00 +00:00 |
|
David Heinemeier Hansson
|
93ec99c246
|
Partly tuned docs for release (AP)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-06 08:27:11 +00:00 |
|
Jamis Buck
|
14c378cc7f
|
render(:template) applies a layout by default. render("foo/bar") works with a layout again.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-15 13:20:17 +00:00 |
|
Jamis Buck
|
e4c047e489
|
render(:action) and render() are the only two render calls to use a layout by default. All others default to :layout => false. Also, allow :layout => true to be a synonym for :layout => nil.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-01 13:39:58 +00:00 |
|
Jamis Buck
|
6ce58318f5
|
render(:inline) defaults to :layout => false
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 09:12:12 +00:00 |
|
Jamis Buck
|
f57ee365e1
|
render(:text), render(:partial), and render(:nothing) always default to :layout => false. This also fixes send_file, which was applying a layout if one existed for the current action.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 07:51:02 +00:00 |
|
David Heinemeier Hansson
|
bdd16a75e6
|
render :nothing shouldnt cause layouts
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 16:57:51 +00:00 |
|
David Heinemeier Hansson
|
2f7c5f84e4
|
Cure some ills discovered with the refactoring
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 11:07:09 +00:00 |
|
David Heinemeier Hansson
|
da0c4c5c96
|
Deprecated all render_* methods in favor of consolidating all rendering behavior in Base#render(options). This enables more natural use of combining options, such as layouts
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 08:58:43 +00:00 |
|
David Heinemeier Hansson
|
0367317dd6
|
Deprecated redirect_to_path and redirect_to_url in favor of letting redirect_to do the right thing when passed either a path or url. Introduced r as a unified method for render (still under construction)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 07:43:05 +00:00 |
|
David Heinemeier Hansson
|
098fa94356
|
Fixed documentation snafus #575, #576, #577, #585
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-07 14:15:53 +00:00 |
|
David Heinemeier Hansson
|
e38ee7cd7f
|
Added conditional layouts like <tt>layout "weblog_standard", :except => :rss</tt> #452 [Marcel Molina] -- We are still missing unit tests for layouts in general, so please do contribute if you want some testing workout
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-11 00:50:11 +00:00 |
|
David Heinemeier Hansson
|
1b0da48fe9
|
Added documentation for using render_with_layout
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-29 13:36:27 +00:00 |
|
David Heinemeier Hansson
|
eeae1eecb9
|
Added documentation for automatic layout inclusion #328 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-19 12:56:31 +00:00 |
|
David Heinemeier Hansson
|
17a74d90b6
|
Added that controllers will now search for a layout in $template_root/layouts/$controller_name.r(html|xml), so PostsController will look for layouts/posts.rhtml or layouts/posts.rxml and automatically configure this layout if found #307 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-15 11:39:22 +00:00 |
|
David Heinemeier Hansson
|
db045dbbf6
|
Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-11-24 01:04:44 +00:00 |
|