- 25 12月, 2009 1 次提交
-
-
由 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.
-
- 24 12月, 2009 1 次提交
-
-
由 Dwayne Litzenberger 提交于
According to RFC 4627, only the following Unicode code points are allowed unescaped in JSON: unescaped = %x20-21 / %x23-5B / %x5D-10FFFF However, ActiveSupport::JSON did not escape the range %x00-1f. This caused parse errors when trying to decode the resulting output. [#3345 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 23 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 21 12月, 2009 3 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
:to => redirect() can take a String using 1.9-style interpolation or proc that takes the path parameters as a Hash
-
- 15 12月, 2009 2 次提交
-
-
由 Serguei Filimonov 提交于
Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ActiveRecord models with DateTime attributes.
-
由 David Heinemeier Hansson 提交于
Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if !x.include?/else calls [DHH]
-
- 13 12月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 Joshua Peek 提交于
-
- 07 12月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attempts. Calling super gives us NameErrors.
-
- 04 12月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 03 12月, 2009 3 次提交
-
-
由 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.
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
- 02 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 29 11月, 2009 5 次提交
-
-
由 Jeremy Kemper 提交于
Notifications: synchronous fanout queue pushes events to subscribers rather than having them concurrently pull
-
由 Jeremy Kemper 提交于
Notifications: extract central Notifier, cordon off the internal Fanout implementation, and segregate instrumentation concerns
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
Revert "Create SyncListener. Since they do not rely on Thread, they can be used on Google App Engine." Take a step back on this API direction. This reverts commit 8104f65c.
-
- 25 11月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
Obviated by fix in macruby trunk. This reverts commit 6d91e7dc.
-
- 24 11月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 José Valim 提交于
Signed-off-by: NYehuda Katz <wycats@Yehuda-Katz.local>
-
- 22 11月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 19 11月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 15 11月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 Jeremy Kemper 提交于
-
- 14 11月, 2009 7 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
Ruby 1.9.2: disallow explicit coercion via method_missing. Only give friendly nil errors for Array and Active Record methods.
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 13 11月, 2009 1 次提交
-
-
由 David Vrensk 提交于
[#3451 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 10 11月, 2009 4 次提交
-
-
由 Jeremy Kemper 提交于
Still required on older 1.8.7 patchlevels. This reverts commit a48f49e5.
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-