| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This follows the good practice listed on http://guides.rubyonrails.org/debugging_rails_applications.html#impact-of-logs-on-performance
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / /
|/| | | | | | | | |
Missing space. [CI SKIP]
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
See AR::Associations for greater detail in Nested Model Forms Guide [ci skip]
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \ |
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
[skip ci]
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Patch by @bcjordan
|
|\ \ \ \ \ \ \ \
| | |_|_|_|_|_|/
| |/| | | | | |
| | | | | | | |
| | | | | | | | |
tomkadwill/added_has_and_belongs_to_many_scope_documentation
[ci skip] Added documentation for has_and_belongs_to_many scope parameter
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Revert "Add I18n support for `:placeholder` HTML option is passed to for...
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
fields"
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
ActionDispatch::RemoteIp accept IPAddr matches for trusted proxies
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Refactored IP address checking in ActionDispatch::RemoteIp to rely on
the IPAddr class instead of the unwieldly regular expression to match
IP addresses. This commit keeps the same api but allows users to pass
IPAddr objects to config.action_dispatch.trusted_proxies in addition
to passing strings and regular expressions.
Example:
# config/environments/production.rb
config.action_dispatch.trusted_proxies = IPAddr.new('4.8.15.0/16')
|
| | | | | | | |
|
|/ / / / / /
| | | | | |
| | | | | | |
Per feedback in https://github.com/rails/rails/commit/af63e4a2546629c3fb2d53cffb7d4ea0e8663f68#commitcomment-7477636
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
See http://guides.rubyonrails.org/api_documentation_guidelines.html#wording
|
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Update documentation, Add change to ActionView Notable changes
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Small Action View Overview guide grammar and readability tweaks
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Some small grammar and readability edits
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix minor typos and improve grammar and code formatting
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[ci skip]
Add improvements from @eileencodes [skip ci]
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[ci skip] Added documentation for has_one scope parameter
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
[ci skip] Grammar fixes for upgrade guide from 4.0 to 4.1
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Related: https://github.com/rails/rails/pull/16607
|
|/ / / / / / / / |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
[ci skip] Clarify Action Mailer/Active Job usage note
|
| |/ / / / / / / |
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
Upgrade guide pass. [CI SKIP]
|
| | |_|_|/ / /
| |/| | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix some issues in 4.2 release notes. [ci skip]
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Remove duplicate line in Railties.
[ci skip]
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
Map HEAD requests to GET routes instead of duplicating GET routes.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We should assert that routes will not be recognized if the verbs do
not match.
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Follow up to rails#15321
Instead of duplicating the routes, we will first match the HEAD request to
HEAD routes. If no match is found, we will then map the HEAD request to
GET routes.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[ci skip] 4.2 release notes grammar fix
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Enable gzip compression by default
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If someone is using ActionDispatch::Static to serve assets and makes it past the `match?` then the file exists on disk and it will be served. This PR adds in logic that checks to see if the file being served is already compressed (via gzip) and on disk, if it is it will be served as long as the client can handle gzip encoding. If not, then a non gzip file will be served.
This additional logic slows down an individual asset request but should speed up the consumer experience as compressed files are served and production applications should be delivered with a CDN. This PR allows a CDN to cache a gzip file by setting the `Vary` header appropriately. In net this should speed up a production application that are using Rails as an origin for a CDN. Non-asset request speed is not affected in this PR.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Fixing spelling typo in testing guide.
|
|/ / / / / / |
|
| | | | | | |
|
| |_|_|/ /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove cached attributes from Configuring guide [ci skip]
This was removed in #15429
|
|/ / / / /
| | | | |
| | | | | |
Remove ActiveRecord config instructions for active_record.attribute_types_cached_by_default, which was removed in https://github.com/rails/rails/commit/66736c8e50585
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
It was soft removed at 03035d69e14032a589e9653e3145237b8a9a09be
|