| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Rather than protecting from forgery in the generated
ApplicationController, add it to ActionController::Base by config. This
configuration defaults to false to support older versions which have
removed it from their ApplicationController, but is set to true for
Rails 5.2.
|
| |
|
|
|
|
| |
The guide misleadingly indicates that the I18n gem will apply the CLDR pluralization rules for each language. This is not the case; only the English algorithm, with support for :zero, :one, and :other, is available by default. Locale-specific pluralization rules require additional configuration and must be supplied by the application (or by another gem).
|
|\
| |
| | |
Add missing http status codes [ci skip]
|
| |
| |
| |
| |
| | |
Ref: https://github.com/rack/rack/commit/5401f776f660b1f8d0e0650ba78478d7488eff75,
https://github.com/rack/rack/commit/73e08279d4433ca66cf22157a40dba562629031a
|
|\ \
| |/
|/| |
Clear screenshots files in `tmp:clear` task
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If system test fails, it creates screenshot under `tmp/screenshots`.
https://github.com/rails/rails/blob/34fe2a4fc778d18b7fe6bdf3629c1481bee789b9/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb#L45
But currently, screenshot files is not cleared by `tmp:clear` task.
This patch make clears screenshot files with `tmp:clear` task as well
as other tmp files.
|
| | |
|
| |
| |
| | |
When using render plain the extension for the layout needs to be .text.erb instead of .txt.erb
|
| | |
|
|/
|
|
|
|
| |
RailsGuides
[ci skip]
|
| |
|
|
|
|
|
| |
Clarify the partial local variable name as being the same as the name
of the partial, minus the _leading_ underscore.
|
| |
|
| |
|
|\
| |
| | |
Deprecate an `capify!` method in generators and templates
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `capify` command has been removed by Capistrano 3 and became to
`cap install`.
Therefore, the `capify!` method has no meaning in Capistrano 3.
I think that should deprecate.
Ref: https://github.com/capistrano/capistrano/commit/492793916acf32ffe1604daec6fd4892c8935018
|
|/ |
|
|
|
|
| |
which is always enabled now. Ref: https://github.com/rails/sprockets-rails/commit/655b93bffc6f51b96a7cc097f9010942693bfaae and https://github.com/rails/rails/pull/24070 . Fixes #29483 [ci skip] (#29484)
|
| |
|
| |
|
| |
|
|\
| |
| | |
Document Module#delegate_missing_to in the guides [ci skip]
|
| |
| |
| |
| |
| | |
Added a small section for it in the `Active Support Core Extensions`
guide. [ci skip]
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix link in active_record_postgresql.md [ci skip]
|
| | | |
|
|/ / |
|
| |
| |
| |
| | |
slice as this has actually been implemented by Parameters
|
| |
| |
| |
| |
| |
| |
| | |
Commit 1a5d9399 removed the "Profiling Rails Applications" guide
but the YAML entry for this guide wasn't.
[ci skip]
|
| | |
|
| |
| |
| |
| |
| | |
Other examples were removed in 53ff5fc62f9d11b6f60d371df959137f4bf40728
[ci skip]
|
| | |
|
| | |
|
|\ \
| | |
| | | |
some typos and rephrasing in system test guide [ci skip]
|
| | | |
|
|\ \ \
| | | |
| | | | |
SystemTesting::Driver can register capybara-webkit and poltergeist
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
drivers.
When using `driver_by` with capybara-webkit or poltergeist,
SystemTesting::Driver will register the driver while passing
`screen_size` and `options` parameteres.
`options` could contain any option supported by the underlying driver.
|
|/ / / |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
[ci skip]
|
| | | |
|
| |/
|/|
| |
| |
| | |
This lists the `assert_changes` and `assert_no_changes` methods in the
guides. [ci skip]
|
|\ \
| | |
| | |
| | |
| | | |
clupprich/remove-action-dispatch-callbacks-to-prepare-mention
Remove mentions of deprecated callbacks on ActionDispatch::Callbacks
|
| | |
| | |
| | |
| | |
| | | |
ActionDispatch::Callbacks.to_prepare was removed in #27587
[ci skip]
|
|\ \ \
| |/ /
|/| | |
AEAD encrypted cookies and sessions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit changes encrypted cookies from AES in CBC HMAC mode to
Authenticated Encryption using AES-GCM. It also provides a cookie jar
to transparently upgrade encrypted cookies to this new scheme. Some
other notable changes include:
- There is a new application configuration value:
+use_authenticated_cookie_encryption+. When enabled, AEAD encrypted
cookies will be used.
- +cookies.signed+ does not raise a +TypeError+ now if the name of an
encrypted cookie is used. Encrypted cookies using the same key as
signed cookies would be verified and serialization would then fail
due the message still be encrypted.
|
|\ \ \
| | | |
| | | | |
[ci skip]fix wrong variable name in docs
|