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 |
|