Sam Stephenson
|
ab211bf592
|
Fix rendering html partials from an rjs template
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-12-04 16:35:13 -06:00 |
|
Joshua Peek
|
2fc6c7dd05
|
Validate template extensions [#1187 state:resolved]
|
2008-12-03 10:57:35 -06:00 |
|
Sam Pohlenz
|
5ea9f2cac6
|
Allow helpers directory to be overridden via ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
|
2008-11-23 13:42:53 +01:00 |
|
David Heinemeier Hansson
|
130fe74d17
|
Changed the default of ActionView#render to assume partials instead of files when not given an options hash [DHH]
|
2008-11-19 14:00:16 +01:00 |
|
Luke Melia
|
60d6f25517
|
Fix rendering html partial via inline render when with :js format [#1399 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-11-18 15:19:16 -06:00 |
|
Joshua Peek
|
ec38c84ce1
|
Dup local assigns for partial collections so nil values doesn't get overwritten [#1250 state:resolved]
|
2008-10-30 15:07:47 -05:00 |
|
Ryan Bates
|
4ad5aa9a39
|
Ensure @content_for_* is checked before yielding to block in render :layout [#8994 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-10-28 17:31:33 -05:00 |
|
Joshua Peek
|
ac50ee0edf
|
Track rendered templates in stack so the current template can always be accessed. Added ActionView::Base#template to access the template object.
|
2008-10-28 11:06:08 -05:00 |
|
Claudio Poli
|
5f83e1844c
|
Fixed missing template paths on exception [#1082 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-09-20 22:57:45 -05:00 |
|
Ryan Bates
|
38c7d73e73
|
pass yielded arguments to block for ActionView::Base#render with :layout [#847 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-17 19:29:24 -05:00 |
|
Joshua Peek
|
3b9324e62f
|
Fix rendering partials at the top level [#795 state:resolved]
|
2008-08-13 19:15:35 -05:00 |
|
Cameron Yule
|
2faf35cea9
|
Added tests for partial collection counters [#766 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-09 10:48:56 -05:00 |
|
Tom Ward
|
c3d1fda555
|
Set the response content type to that of found template if not explicitly set elsewhere [#444 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-18 20:14:12 -05:00 |
|
Joshua Peek
|
8b306bf24c
|
Improved test coverage for fragment cache helper
|
2008-07-15 20:54:17 -05:00 |
|
Joshua Peek
|
e0fef66149
|
Made ActionView::Base#first_render a little more private. And added _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved]
|
2008-07-13 13:26:48 -05:00 |
|
Joshua Peek
|
b603de0882
|
Improve test coverage and create fixtures for RenderPartialWithRecordIdentificationTests
|
2008-07-12 12:17:10 -05:00 |
|
Jeremy Kemper
|
4354aa36fb
|
Rendering default template for missing actions works with non-word characters in action name
|
2008-07-09 10:42:29 -07:00 |
|
Damian Janowski
|
91320f2a80
|
Add :recursive option to javascript_include_tag and stylesheet_link_tag to be used along with :all. [#480 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-07-08 13:50:59 +01:00 |
|
Pratik Naik
|
267d3964eb
|
Make sure render :collection doesnt set nil local when :as is absent
|
2008-07-02 17:19:41 +01:00 |
|
Pratik Naik
|
2b43620e3c
|
Add :as option to render a collection of partials with a custom local variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
|
2008-07-02 16:40:42 +01:00 |
|
Joshua Peek
|
ad772402c4
|
Made ActionView::Base#render_file private
|
2008-06-25 05:57:24 -05:00 |
|
Jeremy Kemper
|
72f93b581f
|
Check whether blocks are called from erb using a special __in_erb_template variable visible in block binding.
|
2008-06-19 22:21:56 -07:00 |
|
Jeremy Kemper
|
fe9d2ad6e8
|
Remove some internal dead code that supported content_for
|
2008-06-06 18:01:14 -07:00 |
|
Pratik Naik
|
1dbfe9766e
|
Ensure render :file works inside templates
|
2008-06-05 23:33:10 +01:00 |
|
Pratik Naik
|
87ec72bd8c
|
Improve PartialTemplate tests
|
2008-05-02 10:45:08 +01:00 |
|
Pratik Naik
|
74436d2203
|
Fixed render :template for templates in top level of view path. [#54 state:resolved]
|
2008-05-01 10:21:46 +01:00 |
|
David Heinemeier Hansson
|
5cef8bcc54
|
Forgot these
|
2008-04-30 15:00:59 -05:00 |
|
David Heinemeier Hansson
|
56861af733
|
Added test for has_one partial rendering (keeran) [#43 state:resolved]
|
2008-04-30 14:59:24 -05:00 |
|
David Heinemeier Hansson
|
a3da293b33
|
Fixed render :partial => @collection.named_scope (nkallen) [#61 state:resolved]
|
2008-04-30 14:42:44 -05:00 |
|
Stephen Celis
|
89237fe07e
|
Scripts and styles with multiple dots in the filename should cache
|
2008-04-12 18:43:38 -05:00 |
|
Jeremy Kemper
|
dd3c0ae95c
|
Missed adds. References #11491.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-04-01 00:56:59 +00:00 |
|
Jeremy Kemper
|
5c0656c9ee
|
Fix layouts in symlinked paths. Closes #9136 [court3nay, caio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:54:26 +00:00 |
|
David Heinemeier Hansson
|
4e69ed0656
|
Add missing file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-28 20:17:21 +00:00 |
|
Jeremy Kemper
|
d8f76e66a1
|
Missed adds. References #10350.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-20 16:51:06 +00:00 |
|
Jeremy Kemper
|
bd940d98bd
|
Re-added ActionView::Helpers::register_javascript/stylesheet_expansion to make it easier for plugin developers to inject multiple assets. Closes #10350.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-20 16:26:04 +00:00 |
|
Michael Koziarski
|
51b6619d4e
|
Refactor partial rendering into a PartialTemplate class. [Pratik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-03 04:01:35 +00:00 |
|
David Heinemeier Hansson
|
7dcd0d7d96
|
Added that requests with JavaScript as the priority mime type in the accept header and no format extension in the parameters will be treated as though their format was :js when it comes to determining which template to render. This makes it possible for JS requests to automatically render action.js.rjs files without an explicit respond_to block [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-29 18:09:23 +00:00 |
|
Marcel Molina
|
3d1a30bc59
|
Ooops. Add fixture partials for last commit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-08 22:33:17 +00:00 |
|
Michael Koziarski
|
b812b23687
|
Make render :partial recognise form builders and use the _form partial. Closes #10814 [djanowski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-16 02:01:57 +00:00 |
|
David Heinemeier Hansson
|
eff27ab119
|
Fix a few caching errors, expose a case thats still not working (ref #107330 [catfish]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-12 01:19:46 +00:00 |
|
David Heinemeier Hansson
|
d5645fd4a0
|
Fixed rendering of partials with layout when done from site layout (closes #9209) [antramm]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-03 15:28:36 +00:00 |
|
Jeremy Kemper
|
18344e9b0e
|
Missed commit. Closes #10437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 22:36:11 +00:00 |
|
Jeremy Kemper
|
93ec552e9b
|
Fix up template handler tests. Closes #10437.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 20:41:59 +00:00 |
|
David Heinemeier Hansson
|
55b6697493
|
Fixed that has_many :through associations should render as collections too (closes #9051) [mathie/danger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-12 15:02:12 +00:00 |
|
Jeremy Kemper
|
4d2ae8a699
|
Partials also set 'object' to the default partial variable. Closes #8823.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-25 21:32:01 +00:00 |
|
David Heinemeier Hansson
|
860cf2d44e
|
Fixed that render template did not honor exempt_from_layout (closes #9698) [pezra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-30 22:59:24 +00:00 |
|
David Heinemeier Hansson
|
3c695356ae
|
Fixed the layout defaults (closes #9564) [lifo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-28 01:23:20 +00:00 |
|
David Heinemeier Hansson
|
42d35472b2
|
Please do remember
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-25 16:40:56 +00:00 |
|
David Heinemeier Hansson
|
2a6f8c99da
|
Doh, forgot this file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-25 16:30:38 +00:00 |
|
David Heinemeier Hansson
|
06dd4b3166
|
Better failing tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-25 15:09:21 +00:00 |
|