- 23 1月, 2012 7 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 José Valim 提交于
remove obsolete code as old actionmailer api was removed
-
由 Sergey Nartimov 提交于
-
- 22 1月, 2012 15 次提交
-
-
由 José Valim 提交于
Support decimal{1,2} and decimal{1-2} and decimal{1.2} so it works fine with bash, zsh, etc, closes #4602 Conflicts: railties/test/generators/migration_generator_test.rb
-
由 José Valim 提交于
Fixed regression - unable to use a range as choices for form.select.
-
由 José Valim 提交于
Fix typo
-
由 José Valim 提交于
Fix setting $rails_rake_task variable.
-
由 José Valim 提交于
some modifications in action_mailer/base.rb
-
由 Jari Jokinen 提交于
-
由 Sachin87 提交于
-
由 Xavier Noria 提交于
Some end with a full stop, some don't. Let's have attention to detail and make them uniform. I have chosen to add full stops according to our documentation guidelines related to RDoc.
-
由 Jonathan Viney 提交于
Fix `$rails_rake_task` global variable warning without replacing the value of $rails_rake_task if it is already set. Fixes #4591.
-
由 Jeremy Kemper 提交于
-
由 José Valim 提交于
Remove not used requires from csrf helper file and test
-
由 Carlos Antonio da Silva 提交于
These requires were added in a87b92db and the implementation changed in 2cdc1f0c, removing the need for them.
-
由 José Valim 提交于
Remove ActiveSupport::TestCase#pending, use `skip` instead
-
由 Carlos Antonio da Silva 提交于
-
由 Jeremy Walker 提交于
-
- 21 1月, 2012 18 次提交
-
-
由 Vijay Dev 提交于
-
由 José Valim 提交于
change AR default_timezone to :utc since it's the default for AR::Railtie
-
由 José Valim 提交于
Replace regexp matching with a simple string manipulation.
-
由 Akira Matsuda 提交于
-
由 Semyon Perepelitsa 提交于
Using regexp looks like overkill here and is also 2x slower. user system total real string 0.020000 0.000000 0.020000 ( 0.016256) regexp 0.030000 0.000000 0.030000 ( 0.035360) require "benchmark" names = ("a".."z").map { |c| c + "a" * rand(5..10) + "=" * rand(0..1) }.map(&:to_sym) puts names n = 1000 Benchmark.bmbm do |x| x.report "string" do n.times do names.each do |name| string_name = name.to_s string_name.chomp!('=') string_name end end end x.report "regexp" do n.times do names.each do |name| name.to_s =~ /(.*)=$/ $1 end end end end
-
由 Semyon Perepelitsa 提交于
-
由 Semyon Perepelitsa 提交于
-
由 Semyon Perepelitsa 提交于
-
由 José Valim 提交于
Refactor NumberHelpers
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-