| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
insert newlines into code samples in Upgrading section of Asset Pipeline doc
|
|/
|
|
| |
[ci skip]
|
|\
| |
| | |
Fix marking of custom routes for Journey
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Mapper build_path method marks routes where path parameters are part
of a path segment as custom routes by altering the regular expression, e.g:
get '/foo-:bar', to: 'foo#bar'
There were some edge cases where certain constructs weren't being picked
up and this commit fixes those.
Fixes #23069.
|
|\ \
| | |
| | | |
Response etags to always be weak: Prefixed 'W/' to value returned by Act...
|
| | |
| | |
| | |
| | | |
ActionDispatch::Http::Cache::Response#etag= such that etags set in fresh_when and stale? are weak. For #17556.
|
|\ \ \
| | | |
| | | | |
Small doc update per RF [ci skip]
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Add CHANGELOG.md entry for #22950
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
gsamokovarov/after-create-update-destroy-commit-docs
Fix the API documentation layout of after_*_commit
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Just noticed this on the [edge API].
[ci skip]
[edge API]: http://edgeapi.rubyonrails.org/classes/ActiveRecord/Transactions/ClassMethods.html
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 5d1b7c3b441654e8008dcd303f5367883ec660a6.
The change here didn't actually fix the issue it was trying to fix, and
this isn't the correct way to fix either issue. The problem is switching
from the builder to grouping with find_all/regex is now very dependent
on how you structure your path pattern.
|
|\ \
| | |
| | | |
Changed html_safe to raw in AV
|
| | |
| | |
| | |
| | |
| | |
| | | |
of html_safe in favour of raw() in AV helpers.
Also changed usage of html_safe to make use of raw() instead so that the intended behaviour is verified with raw()
|
|\ \ \
| |/ /
|/| | |
Pluralize counter_cache column name in example [ci skip]
|
|/ / |
|
|\ \
| | |
| | |
| | | |
Adapterize storage for ActionCable
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- adapter -> pubsub (re)rename internally
- Change variable names to match method names
- Add EventMachine `~> 1.0` as a runtime dependency of ActionCable
- Refactor dependency loading for adapters
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- Escape the channel name when subscribing in PG
- Refactor popping the queue to make it easier to read
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now only create one adapter instance for the server, so it can hold
the listener. This in turn allows the listener to get the PG connection
from the adapter, which will be a good place to allow more flexible
configuration.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Update CHANEGLOG for https://github.com/rails/rails/pull/20005 [ci skip]
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| | |
gzipped version exists or not. This is helpful for CDN's to later distinguish assets, based on previous, current copies and introduced gzip version if any."
This reverts commit 067c52f608568e35181830a5c1016e382650e655.
Conversation: https://github.com/rails/rails/pull/23120#issuecomment-173007011
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We want this method to be the single canonical source of information
about type metadata related to a model. This is the method I've been
continuously recommending people use if they need this sort of access,
as I have no plans to remove or change it at any point in the future.
We can do ourselves a favor and get people to use this instead of
relying on some other part of the internals that they shouldn't be by
making this method public.
|
|\ \
| | |
| | | |
Its ideal to set Vary: Accept-Encoding, irrespective of whether gzipped or not
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
version exists or not. This is helpful for CDN's to later distinguish assets, based on previous, current copies and introduced gzip version if any.
For ref: https://www.fastly.com/blog/best-practices-for-using-the-vary-header
This change sets `Vary` header always, to be on safer side
|
|\ \ \
| | | |
| | | | |
[ci skip] update guide for Puma web server instead of Webrick
|
| | | |
| | | |
| | | | |
Rails 5.0 default server puma web server. following commit - https://github.com/rails/rails/commit/ae48ea69
|
|\ \ \ \
| | | | |
| | | | | |
- Changed from bin/rake to bin/rails at more application places. [ci skip]
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Only ones left are from the upgrading guide, and command line guide explicit section about rake
Follow up of https://github.com/rails/rails/pull/23119
[ci skip]
|
|\ \ \ \
| |/ / /
|/| | | |
[close #23084] Deprecated StrongParameters
|
| | | | |
|
| | | |
| | | |
| | | | |
It's reasonable to expose different value readers.
|
| | | |
| | | |
| | | |
| | | | |
We can provide a more flexible upgrade experience by warning users they are using unsafe methods instead of forcing the safe API by deprecating before removal. This PR provides this functionality.
|
|\ \ \ \
| |_|/ /
|/| | | |
use bin/rails default instead of rake commands [ci skip]
|
|/ / /
| | |
| | | |
I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …`
|
|\ \ \
| | | |
| | | | |
Guides header changes
|
| |/ /
| | |
| | |
| | |
| | | |
- Add new logo for guides header
[ci skip]
|