| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Since Ruby 2.4 isn't out yet, the fact that it will make `to_time` preserve the
time zone should be toggled with a update flag.
Second, remove the flipping on what version had what defaults. It's called new
framework defaults, so it's from the future looking. Thus keep the line that
mentions past versions.
|
|\
| |
| | |
More cleanup of new framework defaults
|
| | |
|
| |
| |
| |
| | |
- Adjusted tests instead.
|
| |
| |
| |
| |
| |
| | |
about old apps and how you can upgrade to new defaults.
[Kasper Timm Hansen, Prathamesh Sonpatki]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
request_forgery_protection configs
- Earlier per_form_csrf_tokens and request_forgery_protection config
files were generated for old apps upgraded to Rails 5.
- But when we collapsed all initializers into one file, the entire file
does not get created for old apps.
- This commit fixes it and also changes values for all new defaults for
old apps so that they will not break.
- Also added a test for `rails app:update`.
|
| |
| |
| |
| |
| |
| |
| | |
- Move real new default options to the top of the file.
- After that club together all the options which were added to keep
backward compatibility. So all of them will get only one header.
- Based on https://github.com/rails/rails/pull/25231#issuecomment-222945173.
|
|\ \
| | |
| | | |
Improve Hash#compact! documentation and tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make it clear what should be returned when no changes were made to the
hash.
{ c: true }.compact! # => nil
|
|\ \ \
| | | |
| | | | |
Do not suggest nonsensical OpenSSL verify modes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SSL_set_verify(3) explains:
SSL_VERIFY_FAIL_IF_NO_PEER_CERT
Server mode: if the client did not return a certificate, the TLS/SSL
handshake is immediately terminated with a "handshake failure" alert.
This flag must
be used together with SSL_VERIFY_PEER.
Client mode: ignored
SSL_VERIFY_CLIENT_ONCE
Server mode: only request a client certificate on the initial TLS/SSL
handshake. Do not ask for a client certificate again in case of a
renegotiation.
This flag must be used together with SSL_VERIFY_PEER.
Client mode: ignored
The SMTP connection here uses a OpenSSL socket in client mode,
suggesting invalid/ignored flags is rather misleading.
|
|\ \ \ \
| |/ / /
|/| | | |
Require Nokogiri >= 1.6.8
|
| | | |
| | | |
| | | |
| | | | |
per security release today --> https://groups.google.com/forum/#!topic/ruby-security-ann/RCHyF5K9Lbc
|
|\ \ \ \
| |/ / /
|/| | | |
Change doc for race_condition_ttl option of ActiveSupport::Cache::Sto… [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ActiveSupport::Cache::Store#fetch [ci skip]
The related option of this method, `expires_in` is documented
as expecting an `ActiveSupport::Duration` value. To minimize any sort of
ambiguity between duration options, this change also documents
`race_condition_ttl` accepting `ActiveSupport::Duration`.
|
|\ \ \ \
| | | | |
| | | | | |
Action Cable: Fix CI tests on Sauce Labs
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add backticks to `ActiveRecord::Base.where`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[ci skip]
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
[ci skip] Update redirecting links in guides
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix a typo in `time_field` [ci skip]
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Added some useful configuration options into configuring.md [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Added information about inserting middlewares with indexes. I think this information useful. We can use indexes also for `insert_after` but the behavior is not same and this is not the right place to give full information about all configuration options.
The configuration for I18n fallbacks is important for production environment. Especially using different fallbacks for different locales.
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Trim Action Cable README [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Only Action Cable README did not have this section, all of the other
READMEs have this section.
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Remove "Configuration", "Running the server", "Dependencies" and "Deployment"
sections from the Action Cable README as they are already duplicated in the
Action Cable overview guide.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[ci skip] Fix link rubyonrails.org/core => http://rubyonrails.org/community
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
[ci skip] Remove Pratik Naik from Rails core team info.
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix sqlite3 test failure
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Sqlite3 test failure is due to 66ebbc4952f6cfb37d719f63036441ef98149418.
|
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We were declaring in a few tests, which depending of
the order load will cause an error, as the super class could change.
see https://github.com/rails/rails/commit/ac1c4e141b20c1067af2c2703db6e1b463b985da#commitcomment-17731383
|
|\ \ \ \
| | | | |
| | | | | |
[skip ci] Fix grammar
|
| | |_|/
| |/| | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Conflicts:
guides/source/action_cable_overview.md
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Not sure why #25239, but it had good changes, so I'm manually pulling in
the changes.
[Jon Moss, Rajat Bansal]
[ci skip]
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | | |
http://edgeguides.rubyonrails.org/api_documentation_guidelines.html#english
|
| | | |
| | | |
| | | |
| | | | |
- Grammar edits.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- config/application.rb no longer has comments about how to specify load paths
or change default locale after
https://github.com/rails/rails/commit/28dcadc0140dfdeb.
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For consistency.
[ci skip]
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
the same.
https://github.com/rails/rails/commit/23b6a9c0fcb8992e18450d6fe0680bf09685b7db
[ci skip]
|
| | | | |
|