- 24 11月, 2015 23 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
We are already filtering the keys in the assign_headers_to_message method so we can just update the filter.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Refactor ActionMailer::Base
-
由 Rafael França 提交于
Move the desc one level up
-
由 Rafael França 提交于
Remove valgrind note about linux only support
-
由 Jacob Bednarz 提交于
Update the valgrind debugging documentation to remove the notes about being linux only as 3.11.0[1] introduces preliminary support for Mac OSX 10.11 (El Capitan). [1]: http://valgrind.org/docs/manual/dist.news.html
-
由 Eileen M. Uchitelle 提交于
don't package test files in plugin gemspec
-
由 Sean Griffin 提交于
`set_field_encoding` is only needed for `MysqlAdapter`
-
由 Sean Griffin 提交于
-
由 Ryuta Kamizono 提交于
Not needed for `Mysql2Adapter` and `AbstractMysqlAdapter`.
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
This reverts commit 65a61ab7, reversing changes made to 14314ca1. This PR broke the build
-
由 Sean Griffin 提交于
Update and fix forbidden attributes test issues caused by AC::Parameters change
-
由 Sean Griffin 提交于
Test if each_object(singleton_class) works, since JRuby added it.
-
由 Sean Griffin 提交于
Fix improper value types used to instantiate a Template in AV::NullResol...
-
由 Sean Griffin 提交于
-
由 Sean Griffin 提交于
ActionMailer::Base can unregister interceptor(s).
-
由 Richard Schneeman 提交于
Clearer comment and variable name on IP spoofing
-
由 Sean Griffin 提交于
As was pointed out by #17128, our blacklist of mutation methods was non-exhaustive (and would need to be kept up to date with each new version of Ruby). Now that `Relation` includes `Enumerable`, the number of methods that we actually need to delegate are pretty small. As such, we can change to explicitly delegating the few non-mutation related methods that `Array` has which aren't on `Enumerable`
-
由 Charles Oliver Nutter 提交于
Fixes #22376. JRuby 9.0.5.0 will support ObjectSpace.each_object against a class's singleton class, since that's essentially just walking an internal subclasses structure we already maintain. This test was too narrow, requiring that each_object support an arbitrary class but only actually needing it to work against a class's singleton. This improves performance of Class.descendants by nearly two orders of magnitude when run against JRuby 9.0.5.0: ```ruby 5.times { puts Benchmark.measure { 100_000.times { Numeric.descendants } } } ``` Before: ``` 11.510000 0.140000 11.650000 ( 10.082384) 9.990000 0.020000 10.010000 ( 9.931233) 10.520000 0.040000 10.560000 ( 10.502978) 10.290000 0.030000 10.320000 ( 10.276027) 10.000000 0.030000 10.030000 ( 9.942429) ``` After: ``` 1.380000 0.040000 1.420000 ( 0.365850) 0.210000 0.000000 0.210000 ( 0.149574) 0.180000 0.020000 0.200000 ( 0.141094) 0.140000 0.000000 0.140000 ( 0.140634) 0.190000 0.010000 0.200000 ( 0.147962) ```
-
由 Rafael França 提交于
Simplify `RailsGuides::Generator#select_only` a bit
-
由 Rafael França 提交于
[ci skip] Add `Translating Rails Guides` to contributing_to_ruby_on_r…
-
- 23 11月, 2015 3 次提交
-
-
由 Sean Griffin 提交于
Fix race condition testing for job execution order
-
由 Will Jessop 提交于
On most filesystems file ctime is limited to 1 second granularity, which means that on faster computers multiple simple jobs (for instance dummy TestJob) can finish within the same second. The execution order test in ActiveJob integration tests relies on multiple TestJobs writing files then comparing the ctime. As a result integration tests would sometimes fail as the ctime of the files written by these TestJobs could have coincidental ctimes making the comparison for job order fail. This commit adds a far more precise execution time (to the extent that the Ruby Time class allows) to the file created by TestJob, and updates the execution order assertion to use it, removing the race condition.
-
- 22 11月, 2015 9 次提交
-
-
由 Viktar Basharymau 提交于
The main goal is to improve readability, but as a side effect this commit makes the method a bit faster.
-
由 Kasper Timm Hansen 提交于
Erroneously removed in 58910dc7. The stubbing was a regression test to ensure `time_zone_select` wasn't implemented with `grep`. Rename the test and add a comment to make the intent clearer.
-
由 Kasper Timm Hansen 提交于
We never touch the index, so don't bother.
-
由 Kasper Timm Hansen 提交于
When calling `test_time_zone_select_with_priority_zones_as_regexp` it would define `=~` on the fake zones, but it would never be cleaned up because of the zone cache. Nuke it so `test_time_zone_select_with_priority_zones_as_regexp_using_grep_finds_no_zones` accidentally find any zones because of `=~` being implemented.
-
由 Grey Baker 提交于
-
由 Kasper Timm Hansen 提交于
Removed Mocha from Action View
-
由 Xavier Noria 提交于
This method needs to ensure that if a change happens, it is going to be registered. With this refactor suggested by @matthewd race conditions do not matter because if no file is watched, nothing is done. And as long as some invocation sets the flag to true, it will stay true. The refactor leaves a race condition in which two simultaneous threads that watch some of the files passed do the actual work in `any?`, whereas the mutex guaranteed that was done at most once. But this is considered to be a better tradeoff.
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
listen is calling us from its own thread, we need to synchronize reads and writes to this flag.
-
- 21 11月, 2015 5 次提交
-
-
由 Yves Senn 提交于
[ci skip] Update dirty.rb: documentation fix.
-
由 Claudio B 提交于
Add example for AR::Persistence#toggle
-
由 Ryan Bigg 提交于
-
由 Claudio B 提交于
Add missing example for cookies.encrypted [ci skip]
-
由 Rafael França 提交于
Example of setting data attributes for image_tag
-