- 09 12月, 2011 19 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Jon Leighton 提交于
-
由 José Valim 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 José Valim 提交于
Removing this feature causes boost in performance when using Ruby 1.9. Ruby 1.9 started to do implicit conversions using `to_ary` and `to_str` in some STDLIB methods (like Array#join). To do such implicit conversions, Ruby 1.9 always dispatches the method and rescues the NoMethodError exception in case one is raised. Therefore, since the whiners feature defined NilClass#method_missing, such implicit conversions for nil became much, much slower. In fact, just defining NilClass#method_missing (even without the whiners feature) already causes a massive slow down. Here is a snippet that shows such slow down: require "benchmark" Benchmark.realtime { 1_000.times { [nil,nil,nil].join } } class NilClass def method_missing(*args) raise NoMethodError end end Benchmark.realtime { 1_000.times { [nil,nil,nil].join } }
-
由 José Valim 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
Add dependency status (a la build status) to the README
-
由 Steve Richert 提交于
-
由 José Valim 提交于
Fix a failure in railties on ruby 1.8.x
-
由 kennyj 提交于
In Ruby 1.8.x, config.encoding sets $KCODE. Therefore, the possible values are UTF8, SJIS, or EUC. And, if we set SJIS, we'll has the error. Because some rails sources are written in utf-8 encoding.
-
- 08 12月, 2011 21 次提交
-
-
由 José Valim 提交于
Fix warning for params_wrapper_test.rb
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 kennyj 提交于
-
由 Xavier Noria 提交于
updates the host and port of publish_docs, and changes the release instructions to use the task rather than curl (thanks to Vijay Dev for spotting this one)
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 José Valim 提交于
ParamsWrapper only wrap the accessible attributes when they were set
-
由 Jon Leighton 提交于
-
由 Jean-Francois Turcot 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
Assign config.encoding to AD::Response.default_charset at the initialization time.
-
由 José Valim 提交于
Fix inflection regexes for mouse, mice
-
由 Mark Rushakoff 提交于
-
由 Jean-Francois Turcot 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-