- 25 1月, 2012 1 次提交
-
-
由 Rohit Arondekar 提交于
-
- 24 1月, 2012 1 次提交
-
-
由 leprasmurf 提交于
-
- 23 1月, 2012 3 次提交
-
-
由 ciastek 提交于
-
由 Damian Le Nouaille 提交于
-
由 ciastek 提交于
"will be used throughout all the views for posts." could suggest, that code's modification is somehow related to posts, while it's application-wide
-
- 22 1月, 2012 2 次提交
-
-
由 Lennart Fridén 提交于
-
由 Aleksey Gureiev 提交于
-
- 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 提交于
-