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
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
8a442e0d57
Extracted Template rendering logic into Renderer module
2008-07-03 13:06:00 -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
Joshua Peek
bec4b69a3b
Replaced TemplateFinder abstraction with ViewLoadPaths
2008-06-17 21:21:07 -05:00
Joshua Peek
5ed162d7c1
Moved template handler registration into a mix-in module.
2008-06-11 22:05:36 -05:00
Pratik Naik
f728e57d22
Make sure cache_template_loading works and don't use to_prepare callback
2008-06-11 09:36:41 +01:00
Joshua Peek
2336430471
Removed TemplateFinder.update_extension_cache_for since view path cache will be updated on boot.
2008-06-09 10:21:30 -05:00
Pratik Naik
98dc582742
Merge docrails.
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-05-25 12:29:00 +01:00
Nathan Weizenbaum
b88a6dbc39
Capture view errors in ActionView::Template.
...
This means that errors raised by partials are caught by ActionView::PartialTemplate,
which in turn means they have the proper filename and line number information.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2008-05-02 10:28:53 +01:00
Pratik Naik
ef4c65088f
Move missing template logic to ActionView
2008-04-19 18:59:13 +01:00
Pratik Naik
534c6b2444
Introduce ActionView::InlineTemplate class
2008-04-19 16:21:18 +01:00
Pratik Naik
a96272a0c5
Moved template handlers related code from ActionView::Base to ActionView::Template
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-03-05 02:03:24 +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
Michael Koziarski
692dbbf793
Introduce a Template class to ActionView. Closes #11024 [lifofifo]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-02-06 04:26:40 +00:00