- 08 8月, 2009 6 次提交
-
-
由 Jeremy Kemper 提交于
Ruby 1.9.2: implicit argument passing of super from method defined by define_method() is not supported
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Brendan Schwartz 提交于
[#1272 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
-
由 Yehuda Katz 提交于
-
- 07 8月, 2009 34 次提交
-
-
由 José Valim 提交于
-
由 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 提交于
-
由 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 提交于
-
由 Raimonds Simanovskis 提交于
Some databases (e.g. Oracle) does not allow "AS" between table name and table alias name, for others it is optional
-
由 Raimonds Simanovskis 提交于
-
由 Raimonds Simanovskis 提交于
-
由 Raimonds Simanovskis 提交于
-
由 Raimonds Simanovskis 提交于
-
由 Raimonds Simanovskis 提交于
always sort lists by id before comparison to avoid errors because of different sorting of same results (on Oracle database)
-
由 Raimonds Simanovskis 提交于
initialize $KCODE to UTF8 when JRuby is used
-