Joshua Peek
|
148aff2097
|
Set template_format to html inside rjs templates so renders within it default to html.
|
2008-12-04 17:20:51 -06:00 |
|
Joshua Peek
|
9fccf72725
|
fixed template recompile issue with previous commit and add some better tests so we can make sure it doesn't happen again
|
2008-11-28 14:31:54 -06:00 |
|
Joshua Peek
|
9fc23745f1
|
Reinstate "Super lazy load view paths in development mode (no indexing or caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading."
|
2008-11-28 11:18:28 -06:00 |
|
David Heinemeier Hansson
|
5fa0457542
|
Revert "Super lazy load view paths in development mode (no indexing or caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading.
This reverts commit 4d910b0333.
|
2008-11-27 21:04:24 +01:00 |
|
Joshua Peek
|
4d910b0333
|
Super lazy load view paths in development mode (no indexing or caching at all). Switch layout finders to use view path api to take advantage of cache.
|
2008-11-26 20:54:47 -06:00 |
|
Joshua Peek
|
bc4d05b244
|
A back support for legacy TemplateHandler#render API
|
2008-11-23 13:57:01 -06: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 |
|
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
|
9a5ffaa01e
|
Ensure :partial => @collection and :collection => @collection behaves same. [#884 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-08-22 18:15:53 +01:00 |
|
Ryan Bates
|
a8ece12fe2
|
Return nil instead of a space when passing an empty collection or nil to 'render :partial' [#791 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-08-19 19:09:04 -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 |
|
Joshua Peek
|
d2ccb852d4
|
Removed lagacy TemplateHandler#render API. Left in a legacy TemplateHandler and Compilable stub so plugins will not have to change anything.
|
2008-07-18 16:00:20 -05:00 |
|
Joshua Peek
|
30204c4e66
|
Set global ActionController::Base.view_paths for test cases
|
2008-07-12 14:11:51 -05:00 |
|
Joshua Peek
|
6ebdd0e32b
|
Changed ActionView::TemplateHandler#render API method signature to render(template, local_assigns = {})
|
2008-07-11 15:40:41 -05:00 |
|
Joshua Peek
|
01637796d7
|
Revert "Moved TemplateHandlers to Base"
This reverts commit 42d215a925.
Conflicts:
actionpack/lib/action_view/inline_template.rb
actionpack/lib/action_view/template.rb
|
2008-07-03 21:09:37 -05:00 |
|
Joshua Peek
|
42d215a925
|
Moved TemplateHandlers to Base
|
2008-07-03 12:48:00 -05:00 |
|
Joshua Peek
|
3b3790a435
|
Deprecate :use_full_path render option. The supplying the option no longer has an effect.
|
2008-07-02 21:38:58 -05: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
|
339491a6b3
|
Set precompiled fixture load path constant to speed up tests
|
2008-06-25 15:24:12 -05:00 |
|
Joshua Peek
|
6f5327013d
|
Consolidate CustomHandlerTest, TemplateFileTest, and TemplateObjectTest and test them at a higher level of abstraction in ViewRenderTest.
|
2008-06-25 05:49:38 -05:00 |
|