- 25 12月, 2009 4 次提交
-
-
由 Yehuda Katz 提交于
Instead of marking raw text in templates as safe, and then putting them through String#<< which checks if the String is safe, use safe_concat, which uses the original (internal) String#<< and leaves the safe flag as is. Results in a significant performance improvement.
-
由 Yehuda Katz 提交于
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
- 23 12月, 2009 2 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 22 12月, 2009 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 13 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 11 12月, 2009 1 次提交
-
-
由 Nathan Weizenbaum 提交于
Add autoloads for ActionView::Template* classes, and an ActionView::TemplateError alias for ActionView::Template::Error. Signed-off-by: NYehuda Katz <wycats@Yehuda-Katz.local>
-
- 03 12月, 2009 1 次提交
-
-
由 Carlhuda 提交于
* A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
-
- 02 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 16 11月, 2009 1 次提交
-
-
由 Will Read 提交于
[#3259 state:resolved] Signed-off-by: NEloy Duran <eloy.de.enige@gmail.com>
-
- 10 11月, 2009 2 次提交
-
-
由 Bryan Helmkamp 提交于
-
由 Bryan Helmkamp 提交于
-
- 07 11月, 2009 1 次提交
-
-
由 Chris Hapgood 提交于
[#3467 state:resolved] Signed-off-by: NEloy Duran <eloy.de.enige@gmail.com>
-
- 06 11月, 2009 1 次提交
-
-
由 Nathan Weizenbaum 提交于
When rendering layouts with blocks, use #capture to avoid assuming that the return value is the block's content. Signed-off-by: NYehuda Katz <wycats@Yehuda-Katz.local>
-
- 01 11月, 2009 3 次提交
-
-
由 José Valim 提交于
Extracted localized_cache.rb from ActionController, added it to AbstractController and made ActionMailer use it.
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 29 10月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 28 10月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 22 10月, 2009 1 次提交
-
-
由 José Valim 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 18 10月, 2009 1 次提交
-
-
由 José Valim 提交于
-
- 17 10月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
- 16 10月, 2009 6 次提交
-
-
由 José Valim 提交于
-
由 Yehuda Katz 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
This reverts commit 8cbf8254.
-
由 Yehuda Katz 提交于
-
- 15 10月, 2009 7 次提交
-
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
This doesn't provide a way to turn off the escaping, but alternative template engine authors can figure out what their default should be by calling this. Avoids a messy version + plugin check.
-
由 Joshua Peek 提交于
-
由 Michael Koziarski 提交于
-
由 Michael Koziarski 提交于
-
由 Phil Darnowsky 提交于
ActionView::Helpers::UrlHelper#url_for used to escape the URLs it generated by default. This was most commonly seen when generating a path with multiple query parameters, e.g. url_for(:controller => :foo, :action => :bar, :this => 123, :that => 456) would return http://example.com/foo/bar?that=456&this=123 escaping an ampersand that shouldn't be escaped. This is both wrong and inconsistent with the behavior of ActionController#url_for, and is changed. Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Yehuda Katz 提交于
By using config rather than hardcoded constants, we can evolve the configuration system over time (we'd just need to update the config method with more robust capabilities and all consumers would get the capabilities with no code changes)
-
- 10 10月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 09 10月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-