- 09 8月, 2009 5 次提交
-
-
由 José Valim 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 rizwanreza 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com> Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Pratik Naik 提交于
-
由 Cristi Balan 提交于
Example: rake db:forward # performs the next migration rake db:forward STEP=4 # performs the next 4 migrations Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Niklas Holmgren 提交于
Signed-off-by: NDan Pickett <dpickett@enlightsolutions.com> Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 08 8月, 2009 21 次提交
-
-
由 Yehuda Katz 提交于
-
由 José Valim 提交于
Added rubygems to generators load_paths, but we only load generators from gems that are alraedy activated. This fixes the version problem and avoid silly conflicts.
-
由 José Valim 提交于
-
由 José Valim 提交于
Renamed ActionController::Renderer to ActionController::Responder and ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector.
-
由 Yehuda Katz 提交于
Fixes "Cached fragment hit" written to log even if fragment is not cached (Erik Andrejko) [#2917 state:resolved]
-
由 Bas Van Klinkenberg 提交于
Fixed a bug in JSON decoding with Yaml backend, where a combination of dates, escaped or unicode encoded data and arrays would make the parser fail with a ParseError exception. [#2831 state:resolved] Signed-off-by: NYehuda Katz <wycats@gmail.com>
-
由 Yehuda Katz 提交于
-
由 Steve St. Martin 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Wolfram Arnold 提交于
Add test to verify that the new :inverse_of association option will indeed fix the validation problem for a belongs_to relationship that validates_presence_of the parent, when both the parent and the child are new (in-memory) records. Also check that this works when the parents adds child via nested_attributes_for. Lastly, add a require 'models/pet' to association_validation_test.rb, so that test can be run independently (was failing due to that missing dependency). [#2815 status:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Eric Davis 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2438 state:committed]
-
由 Josh Sharpe 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2774 state:committed]
-
由 Mike Breen 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2928 state:committed]
-
由 Matt Duncan 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#2607 state:committed]
-
由 wmoxam 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Jeremy Kemper 提交于
-
由 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 14 次提交
-
-
由 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 提交于
-