Rafael Mendonça França
|
2ed17977ac
|
Change more Array.wrap to Kernel#Array
|
2012-01-05 17:57:56 -03:00 |
|
Lucas Mazza
|
9fbaf9f077
|
raises an ArgumentError if no valid options are given to TemplateRenderer#determine_template
|
2011-12-21 17:34:21 -02:00 |
|
José Valim
|
6c57177f2c
|
Remove deprecation warnings from Action Pack.
|
2011-12-20 15:12:38 +01:00 |
|
José Valim
|
d4d99bbc87
|
Fix another regression related to the layout optimization.
|
2011-12-08 22:56:50 +01:00 |
|
José Valim
|
ebd71fd0e3
|
Fix a regression and also fix broken test.
|
2011-12-08 21:00:34 +01:00 |
|
José Valim
|
239262fee0
|
Optimize layout lookup to avoid double calls.
|
2011-12-08 16:39:06 +01:00 |
|
Nick Sutterer
|
2e3eb2560b
|
Allow both sym and array for details options in #render. using LC#registered_details to extract options.
|
2011-09-23 00:36:14 +02:00 |
|
José Valim
|
119e9e2daf
|
Get rid of update_details in favor of passing details to find_template.
|
2011-09-22 15:03:05 +02:00 |
|
Nick Sutterer
|
cbaad674f1
|
it is now possible to pass details options (:formats, :details, :locales, ...) to #render, #find_template and friends. this doesn't change anything in global context.
|
2011-09-22 14:12:36 +02:00 |
|
Santiago Pastorino
|
1d3618a9b4
|
remove warning: assigned but unused variable
|
2011-06-08 00:26:09 -03:00 |
|
José Valim
|
c9fa3f03fe
|
Also allow prefixes as third argument to lookup context.
|
2011-05-04 09:07:11 +02:00 |
|
José Valim
|
367bdc5361
|
Remove view dependency from AV::Renderer.
|
2011-05-01 13:40:13 +02:00 |
|
José Valim
|
33cc001f91
|
More cleanup and moving responsibilities around.
|
2011-05-01 13:40:12 +02:00 |
|
José Valim
|
e30ca001ef
|
Yo dawg, I heard you like streaming. So I put a fiber, inside a block, inside a body, so you can stream.
|
2011-04-16 10:28:47 +02:00 |
|
José Valim
|
fad214b9e1
|
Initial work on fibered layout.
|
2011-04-16 01:10:13 +02:00 |
|
José Valim
|
d6bd606bdd
|
render :once, YAGNI.
|
2011-04-15 21:11:54 +02:00 |
|
José Valim
|
51a7d9acdd
|
Final tidy up on templates inheritance.
|
2010-12-27 09:14:13 +01:00 |
|
artemave
|
6c5a3bb312
|
all tests pass
|
2010-12-26 22:32:15 -08:00 |
|
artemave
|
ddd85ef9c6
|
#948 template_inheritance
|
2010-12-26 22:32:15 -08:00 |
|
José Valim
|
ba63c0a9b5
|
Deprecate handler_class_for_extension as template handlers can be any Ruby object, not necessarily a class.
|
2010-12-01 11:22:48 +01:00 |
|
Santiago Pastorino
|
0d00d65ad2
|
Delegate freeze_formats to lookup_context
|
2010-10-16 13:39:11 -02:00 |
|
José Valim
|
01ab6f961b
|
Remove :cache => true on lookup templates initialization.
|
2010-10-14 09:47:49 +02:00 |
|
José Valim
|
37d78028b2
|
render :once should consider the current controller prefix.
|
2010-10-14 09:27:18 +02:00 |
|
José Valim
|
682368d4ba
|
Use identifiers for template equality.
|
2010-10-10 23:12:22 +02:00 |
|
José Valim
|
940b57789f
|
Add support to render :once.
This will be used internally by sprockets to ensure requires are executed just once.
|
2010-10-10 12:43:26 +02:00 |
|
José Valim
|
b88f4ca93b
|
Clean up the house before moving in the new furniture.
This commit moves all the template rendering logic that was hanging around AV::Base to renderer objects.
|
2010-10-10 12:43:26 +02:00 |
|