Akira Matsuda
|
5dd803e9b1
|
Accept String value for render_partial :as option
[#6222 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2011-02-01 13:01: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
|
27f4ffd11a
|
Make collection and collection_from_object methods return an array
This transforms for instance scoped objects into arrays and avoid unneeded queries
[#5958 state:committed]
|
2010-11-13 04:02:57 -02:00 |
|
Santiago Pastorino
|
6c8ea83385
|
extract formats_regexp as a method
|
2010-10-16 14:12:41 -02:00 |
|
Santiago Pastorino
|
15d3c77bc2
|
There's no need now to expose lookup_context as an external API
|
2010-10-16 13:42:19 -02:00 |
|
Santiago Pastorino
|
0d00d65ad2
|
Delegate freeze_formats to lookup_context
|
2010-10-16 13:39:11 -02:00 |
|
Jeff Kreeftmeijer
|
b454bb0a98
|
Remove the :vew attr_reader from ActionView::AbstractRenderer [#5819 state:resolved]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-10-16 13:02:14 -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 |
|