- 29 1月, 2017 6 次提交
-
-
由 Ryuta Kamizono 提交于
This is an alternative of #27714. If `has_one :through` association has set `nil`, `through_record` is destroyed but still remain loaded target in `through_proxy` until `reload` or `reset` explicitly. If `through_proxy` is not reset (remain destroyed (frozen) target), setting new record causes `RuntimeError: Can't modify frozen hash`. To prevent `RuntimeError`, should reload `through_record` that has been destroyed in `create_through_record`.
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
Without this, the test causes a "method redefined" warning because * first it loads I18n and defines Hash#deep_symbolize_keys inside I18n's lib/i18n/core_ext/hash.rb * then it loads AS/core_ext/hash/keys.rb afterwards
-
由 Akira Matsuda 提交于
* puma 3.7.0: to let kill("TERM") properly terminate the process in railties test (3.6.2 doesnot on my machine) * amq-protocol 2.1.0: to reduce warnings in AJ tests * rails-html-sanitizer: missing change in a previous commit that updated Gemfile
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
restore `delivery_method` after test
-
- 28 1月, 2017 8 次提交
-
-
由 yuuji.yaginuma 提交于
Currently use two variables to restore `delivery_method`, but the order of restoring the values is incorrect and does not restore is correctly.
-
由 Andrew White 提交于
Fix judgment spelling [ci skip]
-
由 Carlos Gavino 提交于
`judgment` is the preferred form as Rails usually follows en-us spelling not en-gb.
-
由 Andrew White 提交于
make backburner integration test to work
-
由 David Heinemeier Hansson 提交于
Offer the option to use parameterization for shared processing of headers and ivars
-
由 yuuji.yaginuma 提交于
Currently, backburner integration test is not running on CI. https://travis-ci.org/rails/rails/jobs/196005322#L610 Using `Backburner::Worker.connection` to check whether beanstalkd is running. But `Backburner::Worker.connection` was removed in backburner 1.2.0. https://github.com/nesquena/backburner/commit/81fde499c2263abe8dedee59a3d0e03e92d72627 Therefore, this check process always becomes false, so the test is no longer done. I fixed it so that check processing is done correctly.
-
由 Jeremy Daer 提交于
add combination of Ruby 2.4 + aj:integration to CI
-
由 Eileen M. Uchitelle 提交于
Modernize SQL Server database YAML for Linux/vNext.
-
- 27 1月, 2017 9 次提交
-
-
由 yuuji.yaginuma 提交于
-
由 Eileen M. Uchitelle 提交于
Fix broken sample code for EventedFileUpdateChecker [ci skip]
-
由 kenta-s 提交于
-
由 Ken Collins 提交于
-
由 Akira Matsuda 提交于
use rails-html-sanitizer >= 1.0.3
-
由 Akira Matsuda 提交于
this probably fixes #25840
-
由 Akira Matsuda 提交于
-
由 Toshi MARUYAMA 提交于
CVE-2015-7579 says rails-html-sanitizer 1.0.2 has XSS vulnerability.
-
由 Eileen M. Uchitelle 提交于
Bump bug report template versions to 5.0.1 in master
-
- 26 1月, 2017 6 次提交
-
-
由 Daniel Martin 提交于
-
由 Yves Senn 提交于
remove warning from `bin/setup` test
-
由 yuuji.yaginuma 提交于
This removes the following warnings. ``` test/application/bin_setup_test.rb:43: warning: ambiguous first argument; put parentheses or a space even after `/' operator ```
-
由 Akira Matsuda 提交于
https://github.com/ruby/ruby/commit/11e6bd5ac2a2eebfa589bd6db8c9c4daa337733e Leaving the 2.4.0 conditional for now, in order never to forget backporting r57407 to 2.4.1
-
由 Arthur Nogueira Neves 提交于
Action Mailer Basics clean up [ci skip]
-
由 Scott González 提交于
-
- 25 1月, 2017 11 次提交
-
-
由 Akira Matsuda 提交于
[ci skip]
-
由 Vipul A M 提交于
Fix grammar 'an hyphen' -> 'a hyphen' [ci skip]
-
由 kenta-s 提交于
-
由 Akira Matsuda 提交于
This message could be generated by `assert_predicate`, https://github.com/rails/rails/commit/1853a4f2c8b2bddfbde6aae80abb08310295201c#commitcomment-20546113 but I'd rather handwrite the message string if I could reduce magic from the code by doing so.
-
由 Andrew White 提交于
Keep the value of `$,` and restore it
-
由 Akira Matsuda 提交于
% ruby -ve "p 'ほげ'.encode(Encoding::UTF_8_MAC)" jruby 1.7.26 (1.9.3p551) 2016-08-26 69763b8 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_45-b14 +jit [darwin-x86_64] "\u307B\u3052" % ruby -ve "p 'ほげ'.encode(Encoding::UTF_8_MAC)" jruby 9.1.7.0 (2.3.1) 2017-01-11 68056ae Java HotSpot(TM) 64-Bit Server VM 25.45-b02 on 1.8.0_45-b14 +jit [darwin-x86_64] "\u307B\u3051\u3099" % ruby -ve "p 'ほげ'.encode(Encoding::UTF_8_MAC)" ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin14] "\u307B\u3051\u3099"
-
由 Richard Schneeman 提交于
Give a message to `#test_duplicable` assertion
-
由 Jeremy Evans 提交于
Erubi offers the following advantages for Rails: * Works with ruby's --enable-frozen-string-literal option * Has 88% smaller memory footprint * Does no freedom patching (Erubis adds a method to Kernel) * Has simpler internals (1 file, <150 lines of code) * Has an open development model (Erubis doesn't have a public source control repository or bug tracker) * Is not dead (Erubis hasn't been updated since 2011) Erubi is a simplified fork of Erubis that contains just the parts that are generally needed (which includes the parts that Rails uses). The only intentional difference in behavior is that it does not include support for <%=== tags for debug output. That could be added to the ActionView ERB handler if it is desired. The Erubis template handler remains in a deprecated state so that code that accesses it directly does not break. It can be removed after Rails 5.1.
-
由 yui-knk 提交于
Giving a message helps us to know what happened when we look at Travis CI.
-
由 Santiago Pastorino 提交于
remove unreachable code
-
由 yui-knk 提交于
As unit tests, we do not know the value of `$,` when this test case started. It' better to keep the value when the test case fnished.
-