- 22 1月, 2012 7 次提交
-
-
由 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.
-
由 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 提交于
-
- 21 1月, 2012 30 次提交
-
-
由 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 提交于
-
由 Aaron Patterson 提交于
-
由 Aleksey Gureiev 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Jon Leighton 提交于
From 2c667f69. Thanks @pwnall for the heads-up.
-
由 Aaron Patterson 提交于
Fix for log tailer when the log file doesn't exist.
-
由 Aaron Patterson 提交于
Removed unused assigns from ActionView::Template::Error
-
由 José Valim 提交于
No need to check html_safe? twice at number_to_percentage
-
由 Aaron Patterson 提交于
This reverts commit be7d2248.
-
由 Rafael Mendonça França 提交于
-
由 Benjamin Manns 提交于
Fix documentation bug in Rails::Engine
-
由 brainopia 提交于
They existed since initial rails commit by DHH but lost use a long time ago
-
- 20 1月, 2012 3 次提交
-
-
由 Jonathan Roes 提交于
-
由 José Valim 提交于
Bump mail 2.4.1
-
由 kennyj 提交于
-