- 16 5月, 2017 4 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-
由 Rusty Geldmacher 提交于
When using `sql` as the schema format, or even just doing `rake db:structure:dump`, it would be good to respect the list of ignored tables that has been configured.
-
由 Kasper Timm Hansen 提交于
Message encryptor auth tag check Fixes MessageEncryptor when used in AEAD mode. Specifically, we need to check if the `auth_tag` is nil. This may arise when an AEAD encryptor is used to decrypt a ciphertext generated from a different mode, such as CBC-HMAC. Basically, the number of double dashes will differ and `auth_tag` may be nil in this case.
-
- 15 5月, 2017 5 次提交
-
-
由 Eileen M. Uchitelle 提交于
Don't cache locally if unless_exist was passed
-
由 Michael Coyne 提交于
-
由 Michael Coyne 提交于
When MessageEncryptor tries to +decrypt_and_verify+ ciphertexts generated in a different mode (such CBC-HMAC), the +auth_tag+ may be +nil+ and must explicitly check for it. See the discussion here: https://github.com/rails/rails/pull/28132#discussion_r116388462
-
由 Eugene Kenny 提交于
Some cache backends support the `unless_exist` option, which tells them not to overwrite an existing entry. The local cache currently always stores the new value, even though the backend may have rejected it. Since we can't tell which value will end up in the backend cache, we should delete the key from the local cache, so that the next read for that key will go to the backend and pick up the correct value.
-
由 Xavier Noria 提交于
-
- 14 5月, 2017 4 次提交
-
-
由 eileencodes 提交于
Previously this implied that system tests provided other non-headless drivers when Selenium is the only driver that uses `:using`, `:screen_size` or `:options` arguments. This change clarifies that Selenium is the only non-headless driver.
-
由 eileencodes 提交于
It's more likely you'll generate a test for testing users than a users creates test. This is a better example of a real world test. Additionally the users create view is unlikely to have the text "UserCreates" since that is likely generated as well. This is now an example of visiting the users index.
-
由 eileencodes 提交于
It wasn't clear that system tests don't run with the rest of the test suite and are part of a separate command. This documents the `test:system` command as well as update the Rails runner help documentation to make it clearer that system tests are run via their own command by default.
-
由 Guillermo Iguaran 提交于
Allow irb options to be passed from `rails console` command
-
- 13 5月, 2017 4 次提交
-
-
由 Eileen M. Uchitelle 提交于
[ci skip] Mailer fixtures in Testing guide.
-
由 Cody Boyko 提交于
Update guide to clarify that mailer fixtures are not created when using the mailer generator.
-
由 Eileen M. Uchitelle 提交于
Maintain original encoding from path
-
由 eileencodes 提交于
When the path info is read from the socket it's encoded as ASCII 8BIT. The unescape method changes the encoding to UTF8 but it should maintain the encoding of the string that's passed in. This causes parameters to be force encoded to UTF8 when we don't actually know what the encoding of the parameter should be.
-
- 12 5月, 2017 5 次提交
-
-
由 Kasper Timm Hansen 提交于
Fix ambigious error message of select query method [ci skip]
-
由 Rafael França 提交于
rake -T should load development env by default, not test
-
由 Rafael França 提交于
Handle loops in the cause chain in Rescuable#rescue_with_handler
-
由 Aaron Patterson 提交于
Pass block in ActionController::Parameters#delete
-
由 Aaron Patterson 提交于
Don't eager loading if unneeded for `FinderMethods#exists?`
-
- 11 5月, 2017 6 次提交
-
-
由 Akira Matsuda 提交于
Because we don't need to load tasks for DBs that we don't use for the current app. Also, these Tasks classes load AR::Base in their class level, and so immediately kick :active_record on_load hooks. This used to happen when we were loading tasks, not when we run a task.
-
由 Vipul A M 提交于
Fix a typo in guide [ci skip]
-
由 Koichi ITO 提交于
-
由 Ryuta Kamizono 提交于
Fixes #29025.
-
由 Eugene Kenny 提交于
In order to fully support the same interface as `Hash#delete`, we need to pass the block through to the underlying method, not just the key. This used to work correctly, but it regressed when `ActionController::Parameters` stopped inheriting from `Hash` in 5.0.
-
由 Peter McCracken 提交于
-
- 10 5月, 2017 3 次提交
-
-
由 Timo Kilpilehto 提交于
-
由 Matthew Draper 提交于
Allow to receive arbitrary arguments in `aggregated_results`
-
由 yuuji.yaginuma 提交于
Argument was added to `aggregated_results` in minitest 5.10.2. Ref: https://github.com/seattlerb/minitest/commit/c6ba2afd90473b76d289562edd24f7d7ca8484f9
-
- 08 5月, 2017 7 次提交
-
-
由 Matthew Draper 提交于
Allow capybara minor releases
-
由 Matthew Draper 提交于
Correct Autoloading and STI guide (issue #26994)
-
由 Robin Dupret 提交于
Fix link to `assert_nothing_raised` doc [ci skip]
-
由 yuuji.yaginuma 提交于
The `assert_nothing_raised` was moved to `ActiveSupport::Testing::Assertions` in 3cece0b6.
-
由 Mehmet Emin INAC 提交于
-
由 yuuji.yaginuma 提交于
Fixes #28988
-
由 Kasper Timm Hansen 提交于
Should escape meta characters in regexp
-
- 07 5月, 2017 2 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Matthew Draper 提交于
Fix `warning: ambiguous first argument`
-