Joshua Peek
|
c1a8690d58
|
Consistently use the framework's configured logger and avoid reverting to RAILS_DEFAULT_LOGGER unless necessary.
|
2008-08-18 23:36:13 -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 |
|
Jeremy Kemper
|
b7529ed1cc
|
Simplifying usage of ETags and Last-Modified and conditional GET requests
|
2008-08-07 23:43:12 -07:00 |
|
Joshua Peek
|
55adaa2efc
|
Fixed bc5896e , and added test case for the caching bug it originally introduced.
|
2008-07-23 13:47:30 -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
|
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
|
ef6f6625c9
|
Changed ActiveSupport::Memoizable API to extend since it mainly adds the memoize class method
|
2008-07-18 15:32:28 -05:00 |
|
Stefan Kaes
|
c64d749abd
|
Fixed template recompile logic [#630 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
|
2008-07-16 08:26:23 -05:00 |
|
Joshua Peek
|
83e29b9773
|
Removed config.action_view.cache_template_loading, use config.cache_classes instead
|
2008-07-15 22:58:42 -05:00 |
|
Joshua Peek
|
001c8beb4d
|
memorize typo
|
2008-07-14 20:02:59 -05:00 |
|
Joshua Peek
|
dd41f66af5
|
Include Memoizable in ActionView::Template
|
2008-07-14 19:51:43 -05:00 |
|
Joshua Peek
|
9dc258d614
|
Eager load Partial variable_name and counter_name. Tidy up render_partial_collection.
|
2008-07-14 17:40:58 -05:00 |
|
Jeremy Kemper
|
2d6562d51b
|
Move dead recompile_template? also
|
2008-07-14 13:51:59 -07: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
|
73b34e9f75
|
Refactor template preloading. New abstractions include Renderable mixins and a refactored Template class.
|
2008-07-12 14:33:46 -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
|
1d8623b42f
|
Added local assign keys to compiled method name so two threads evaluating the same template with different locals don't step on top of each other
|
2008-07-06 01:13:15 -05:00 |
|
Joshua Peek
|
9828aecd2a
|
Lookup compiled methods in CompiledTemplates instance methods set instead of using a "methods_names" hash
|
2008-07-05 23:54:11 -05:00 |
|
Joshua Peek
|
39ba2da82b
|
Moved complied method name logic into Renderable
|
2008-07-05 16:27:43 -05:00 |
|
Joshua Peek
|
1dcc59121b
|
Renamed Renderer to Renderable
|
2008-07-05 12:05:50 -05:00 |
|