- 08 8月, 2009 5 次提交
-
-
由 Yehuda Katz 提交于
-
由 Steve St. Martin 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 wmoxam 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Jeremy Kemper 提交于
Ruby 1.9.2: implicit argument passing of super from method defined by define_method() is not supported
-
由 Yehuda Katz 提交于
-
- 07 8月, 2009 23 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
Add destroyed? to ActiveRecord, include tests for polymorphic urls for destroyed objects and refactor mime responds tests and documentation.
-
由 José Valim 提交于
-
由 Yehuda Katz 提交于
* It is not possible to always pre-determine the layout before going to ActionView. This was *already* broken for render :partial => @object, :layout => true. This is now handled by overriding render_to_body in layouts.rb and manually injecting the partial's response. This needs to be done in ActionController since ActionController knows enough to get _layout_for_option. There is probably a better abstraction here. * As a result, all partial rendering can correctly restrict their layouts to the mime type of the rendered partial. This could have previously caused a bug in some edge cases. * If other layout-like options are added, they might need to add special code for the case of render :partial. We should try to think of an alternate solution, if possible, but this works for the cases we know of now.
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
* TODO: Review ActionController calling render_template for certain partials. Might we be able to save logic by always delegating to AV's render_partial?
-
由 Yehuda Katz 提交于
* _render_single_template, which renders a template without layout * _render_partial_unknown_type, which renders a partial of unknown type (the entry method for most partial rendering; supports strings, objects, and collections) * _render_partial_object, which renders a partial for a single object. * extracted _render_partial_path so it can be used to render the spacer without going through the public render :partial
-
由 Yehuda Katz 提交于
* rename _render_partial to _render_partial_unknown_type to reflect that for this call, we don't know the type. * Merge _render_partial_with_block and _render_partial_with_layout to _render_partial * TODO: Check to see if any more logic can be shared * TODO: See about streamlining block path so we can get rid of @_proc_for_layout * Remove @exempt_from_layout as it is no longer needed
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
* remove no longer used _array_like_objects * _render_content_with_layout renamed to _render_content since layout it optional * remove check for optional layout before _render_content
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
Replace _action_view with view_context to reflect that it is public and that it does not need to be an ActionView instance
-
由 Yehuda Katz 提交于
-
- 05 8月, 2009 1 次提交
-
-
由 Matthew Rudy Jacobs 提交于
Make sure javascript_include_tag/stylesheet_link_tag does not append ".js" or ".css" onto external urls [#1664 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 03 8月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
* convert_content_type! is handled by assign_default_content_type_and_charset! * set_content_length! should be handled by the endpoint server. Otherwise each middleware that modifies the body has to do the expensive work of recalculating content_length. * convert_language! appears to be legacy. There are no tests for this * convert_cookies! should be handled by the new HeaderHash in Rack * Use an integer for .status's internal representation to avoid needing to do String manipulation just to find out the status
-
由 Yehuda Katz 提交于
* Significantly simplifies setting and modifying cache control in other areas
-
- 02 8月, 2009 1 次提交
-
-
由 Sava Chankov 提交于
[#2661 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 31 7月, 2009 3 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Marc Love 提交于
Fix tag helpers so that all HTML element boolean attributes render according to the specs. Added all boolean attributes listed in the XHTML 1.0 specs (http://www.w3.org/TR/xhtml1/guidelines.html) and HTML 5 specs (http://www.whatwg.org/specs/web-apps/current-work). HTML 5 boolean attribute rendering was broken in commit 1e2d7229 / [#2864 state:resolved]. Signed-off-by: NYehuda Katz <wycats@gmail.com>
-
- 30 7月, 2009 5 次提交
-
-
由 José Valim 提交于
Signed-off-by: NYehuda Katz <wycats@gmail.com>
-
由 José Valim 提交于
Signed-off-by: NYehuda Katz <wycats@gmail.com>
-
由 José Valim 提交于
Signed-off-by: NYehuda Katz <wycats@gmail.com>
-
由 José Valim 提交于
Signed-off-by: NYehuda Katz <wycats@gmail.com>
-
由 José Valim 提交于
Signed-off-by: NYehuda Katz <wycats@gmail.com>
-