- 09 8月, 2009 40 次提交
-
-
由 Hugo Peixoto 提交于
Fixed generating a namespaced model with table pluralization turned off. Add tests for namespaced model generation. [#767 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
[#2947 state:resolved]
-
由 Yehuda Katz 提交于
-
由 Rich Bradley 提交于
[#260 state:committed]
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
Temporary fix to get our LoadError monkey-patch working with newer JRuby. We should probably remove MissingSourceFile and just monkey-patch LoadError instead of overriding LoadError.new.
-
由 Yehuda Katz 提交于
Experimental: Improve performance of ActionView by preventing method cache flushing due to runtime Kernel#extend: * The helper module adds a new _helper_serial property onto AbstractController subclasses * When #helper is used to add helpers to a class, the serial number is updated * An ActionView subclass is created and cached based on this serial number. * That subclass includes the helper module from the controller * Subsequent requests using the same controller with the same serial will result in reusing that subclass, rather than being forced to take an action (like include or extend) that will result in a global method cache flush on MRI and a flush of the entire AV class' cache on JRuby. * For now, this optimization is not applied to the RJS helpers, which results in a global method cache flush in MRI and a flush of the JavaScriptGenerator class in JRuby only when using RJS. * Since the effects are limited to using RJS, and would only affect JavaScriptGenerator in JRuby (as opposed to the entire view object), it seems worthwhile to apply this now. * This resulted in a significant performance improvement. I will have benchmarks in the next day or two that show the performance impact of the last several commits. * There is a small chance this could break existing code (although I'm not sure how). If that happens, please report it immediately.
-
由 Yehuda Katz 提交于
Cache controller_path on the AV instance to avoid needing to make additional calls back into the controller for each attempt (this was done because these calls were adding up significantly in partial rendering and showing up on profiles)
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
Rendering a template from ActionView will default to looking for partials only in the current mime type. * The old behavior was tested only as a side-effect of a different test--the original tests remain; a new template in the XML mime was added. * If you are relying on the current behavior and object to this change, please participate in http://groups.google.com/group/rubyonrails-core/browse_thread/thread/6ef25f3c108389bd
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Jeremy Kemper 提交于
-
由 Tristan Dunn 提交于
[#1908 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Rob 提交于
[#2597 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Hugo Peixoto 提交于
MySQL: fix diacritic uniqueness test by setting the default character set and collation to utf8/utf8_unicode_ci [#2883 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
Additionally, actually test that the atom_feed helper works with :xml as an option. [#1836 state:committed]
-
由 Jon Wood 提交于
Example : assert_select_rjs :redirect, root_path Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Pratik Naik 提交于
-
由 bastilian 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Marc-Andre Lafortune 提交于
[#2489 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Matt Duncan 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1229 state:committed]
-
由 Matt Duncan 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1229 state:committed]
-
由 Jan Schwenzien 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Steve St. Martin 提交于
[#3016 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Michael Koziarski 提交于
Also move the min_version definition up a line so it's present in the rescue block down below.
-
由 Adam Keys 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com> Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Matt Duncan 提交于
[#2352 status:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Elad Meidar 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Marshall Huss 提交于
[#2133 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 rizwanreza 提交于
Example: content_tag('p', "limelight", :class => ["song", "play"]) # => <p class="song play">limelight</p> Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Pratik Naik 提交于
-
由 Dan Croak 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-