- 10 12月, 2011 5 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 David Heinemeier Hansson 提交于
Make ActiveSupport::Benchmarkable a default module for ActionController::Base, so the #benchmark method is once again available in the controller context like it used to be *DHH*
-
- 09 12月, 2011 28 次提交
-
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Piotr Sarnacki 提交于
With this commit, ActiveRecord will also look for migrations in db/migrate subdirectories.
-
由 Piotr Sarnacki 提交于
-
由 Piotr Sarnacki 提交于
49ebe51 fixed copying migrations, but existing migrations would still trigger warnings. The proper way to compare migrations is to ignore origin lines - if migration is identical it means that we can silently skip it, regardless where it comes from.
-
由 Piotr Sarnacki 提交于
There was a bug in ActiveRecord::Migration.copy method, which prevented adding special comment about the origin of migration. Because of that, the check if migration is identical or if it's not and should be skipped was always saying that migration is skipped, which was causing additional useless warnings about skipped migrations.
-
由 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 7 次提交
-
-
由 José Valim 提交于
Fix warning for params_wrapper_test.rb
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 kennyj 提交于
-